[PATCH] D19933: Make StringTableBuilder to cache hash values.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 07:07:32 PDT 2016


Note that you need to update lld too :-)

On 5 May 2016 at 09:41, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> LGTM. There might be even more savings by adding methods that take a
> CachedHash<StringRef> instead of a StringRef, but lets do this first.
>
> On 4 May 2016 at 16:19, Rui Ueyama <ruiu at google.com> wrote:
>> ruiu added a comment.
>>
>> 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%)
>>
>>
>> http://reviews.llvm.org/D19933
>>
>>
>>


More information about the llvm-commits mailing list