| commit | 02d71ade063d1acbd9fe22c96671760ddf746219 | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Fri May 06 00:51:58 2016 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Fri May 06 00:51:58 2016 +0000 |
| tree | 04e1ad0ec807fc3ed66d38e2ed8769f52b209ce7 | |
| parent | 2a42da996d9b9327a7935fb330f63ff44a87e57a [diff] |
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