commit | 2a98ad5c2c331d9e7a8d35aa00eaed0ec9ae5f19 | [log] [tgz] |
---|---|---|
author | Justin Lebar <jlebar@google.com> | Fri Oct 21 20:10:51 2016 +0000 |
committer | Justin Lebar <jlebar@google.com> | Fri Oct 21 20:10:51 2016 +0000 |
tree | e9672652d4930a76c8f445e44f56be8714755f2e | |
parent | 228ec7d254dea4667dfc3ce458dbf6f49f404907 [diff] |
[ADT] Compare strings' hashes first before comparing their values. Summary: We already have the hashes in hand, and comparing hashes should be much more discriminatory than comparing the StringRefs' sizes. Reviewers: rafael Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25705 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284872 91177308-0d34-0410-b5e6-96231b3b80d8