summaryrefslogtreecommitdiffstats
path: root/src/build_log.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-09-12 17:17:11 (GMT)
committerEvan Martin <martine@danga.com>2011-09-12 18:46:18 (GMT)
commitf1139aff5deddacd899be064fad9ed5a185e7444 (patch)
tree2d293defa9fd2d257cb25a20d7a66c110fd1f50b /src/build_log.h
parent0c8e0f761f55e78bdaaad8a92f39a724e81474bf (diff)
downloadNinja-f1139aff5deddacd899be064fad9ed5a185e7444.zip
Ninja-f1139aff5deddacd899be064fad9ed5a185e7444.tar.gz
Ninja-f1139aff5deddacd899be064fad9ed5a185e7444.tar.bz2
use StringPiece for makefile deps
Because of this, MakefileParser now returns pointers into the source makefile string rather than allocating new strings. Despite needing to take the result and stuff it into a new string anyway to canonicalize it, this takes another 50ms or so off the null Chrome build, likely due to the vector used in MakefileParser changing to a type that doesn't use any allocations. (I also experimented with making the vector reserve an initial size but didn't see any performance impact.)
Diffstat (limited to 'src/build_log.h')
0 files changed, 0 insertions, 0 deletions