[llvm] r268698 - Make StringTableBuilder to cache hash values.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 10:16:26 PDT 2016


On 6 May 2016 at 13:11, Rui Ueyama <ruiu at google.com> wrote:
> Maybe, but if this could improve performance in most cases, why don't we
> make DenseMap to save StringRef's hash values even if we don't use that
> wrapper?

I am not sure it is in most cases, for now I would call it a handy
tool to have if you notice hashes showing up in the profile.

Cheers,
Rafael


More information about the llvm-commits mailing list