diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-01-09 22:05:30 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-01-09 22:05:30 +0000 |
commit | 47b8cf6deb90a2782e92c67f7c5a20b5aacbee9f (patch) | |
tree | d68dfe99b0acefdc188828f43f6d497ad0805d7f /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 020cddcfee9cdec09b281fe439bc1ec0c570238e (diff) | |
download | bcm5719-llvm-47b8cf6deb90a2782e92c67f7c5a20b5aacbee9f.tar.gz bcm5719-llvm-47b8cf6deb90a2782e92c67f7c5a20b5aacbee9f.zip |
Enhance PTH 'getSpelling' caching:
- Refactor caching logic into a helper class PTHSpellingSearch
- Allow "random accesses" in the spelling cache, thus catching the remaining
cases where 'getSpelling' wasn't hitting the PTH cache
For -Eonly, PTH, Cocoa.h:
- This reduces wall time by 3% (user time unchanged, sys time reduced)
- This reduces the amount of paged source by 1112K.
The remaining 1112K still being paged in is from somewhere else
(investigating).
llvm-svn: 62009
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions