We already have the hashes in hand, and comparing hashes should be much
more discriminatory than comparing the StringRefs' sizes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. I was finally able to benchmark it. It had no significant impact one way or the other, probably because the tables in use are fairly large.
This might help in smaller tables where collisions are more likely.