[LLVMdev] We need better hashing

Jay Foad jay.foad at gmail.com
Mon Feb 13 01:22:15 PST 2012


On 13 February 2012 00:59, Talin <viridia at gmail.com> wrote:
> Here's my latest version of Hashing.h, which I propose to add to llvm/ADT.
> Comments welcome and encouraged.

> /// Adapted from MurmurHash2 by Austin Appleby

Just out of curiosity, why not MurmurHash3 ? This page seems to
suggest that #2 has some flaw, and #3 is better all round:

https://sites.google.com/site/murmurhash/

Would it be possible to use CityHash instead for strings?

http://code.google.com/p/cityhash/

Thanks,
Jay.



More information about the llvm-dev mailing list