|
|
|
|
|
by aappleby
42 days ago
|
|
You don't actually have to do this - you can stick with a power of 2 sized table and just gently mix the hash value to get each additional bit index. (source - I wrote MurmurHash/SMHasher and have used the above in my own bloom filters and cuckoo hash tables) |
|
That said, I suspect you could avoid the coprime partitions and the issues they cause with semi-correlated permutations over block partitions and avoid hash collisions in the process.