search for: _hashing_an_8

Displaying 3 results from an estimated 3 matches for "_hashing_an_8".

2012 Feb 15
2
[LLVMdev] We need better hashing
...e Bernstein hash > function works really well and is much cheaper to compute than Murmur. Have you seen benchmarks saying that, or are you just guessing from the length of the code? The benchmarks I've seen say the opposite: http://code.google.com/p/smhasher/wiki/MurmurHash3#Bulk_speed_test,_hashing_an_8-byte-aligned_256k_block and http://code.google.com/p/cityhash/source/browse/trunk/README. > It > is used by HashString (and thus by StringMap). > >   // Add a possibly unaligned sequence of bytes. >   void addImpl(const char *I, size_t Length) { > > This should probably be mov...
2012 Feb 14
0
[LLVMdev] We need better hashing
On Feb 13, 2012, at 2:00 AM, Talin wrote: > 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/ > > The main reason is because there's no incremental version of 3. I think that that is a great reason. > LLVM's needs, on the other hand, are fairly
2012 Feb 13
5
[LLVMdev] We need better hashing
On Mon, Feb 13, 2012 at 1:22 AM, Jay Foad <jay.foad at gmail.com> wrote: > 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