commit | 2db23b3bbe96288e750a0b88bb50896ae36065f7 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Wed Apr 26 22:45:04 2017 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Wed Apr 26 22:45:04 2017 +0000 |
tree | 2e856e152ff025bdbc5ce2480e9321fa80ea4895 | |
parent | f49f90e97b1e4dbced1c2c4ae400e548fdae3974 [diff] |
Replace HashString algorithm with xxHash64 The previous algorithm processed one character at a time, which is very painful on a modern CPU. Replace it with xxHash64, which both already exists in the codebase and is fairly fast. Patch from Scott Smith! Differential Revision: https://reviews.llvm.org/D32509 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301487 91177308-0d34-0410-b5e6-96231b3b80d8