Skip to content
Commit 8c1c6c03 authored by Colin Cross's avatar Colin Cross
Browse files

Pre-allocate ninjaString slices

Naively pre-allocate ninjaString slices by counting $ characters as
an estimate of how many variables will be needed.  Saves 5% cpu time
on one workload.

Change-Id: Ib3a41df559d728b2db047f6dbbf9eb06d7045303
parent 7bf6f621
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment