Make StringTableBuilder to cache hash values.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This change seems to speed up LLD a bit. Not too bad for a small patch.
Time to link Clang (debug build):
w/o patch 6.3696 seconds
w/patch 6.2746 seconds (-1.5%)
Comment Actions
LGTM. There might be even more savings by adding methods that take a
CachedHash<StringRef> instead of a StringRef, but lets do this first.