diff options
author | Rui Ueyama <ruiu@google.com> | 2016-05-06 00:51:58 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-05-06 00:51:58 +0000 |
commit | 02d71ade063d1acbd9fe22c96671760ddf746219 (patch) | |
tree | 04e1ad0ec807fc3ed66d38e2ed8769f52b209ce7 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 2a42da996d9b9327a7935fb330f63ff44a87e57a (diff) | |
download | llvm-02d71ade063d1acbd9fe22c96671760ddf746219.zip llvm-02d71ade063d1acbd9fe22c96671760ddf746219.tar.gz llvm-02d71ade063d1acbd9fe22c96671760ddf746219.tar.bz2 |
Make StringTableBuilder to cache hash values.
This change seems to speed up LLD a bit if it has a lot of mergeable
sections. The number is below. It's 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%)
Differential Revision: http://reviews.llvm.org/D19933
llvm-svn: 268698
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions