News for hackers. Stuff that matters.
Re:Robin Hood Hashing should be the default hash table imple... by Gankro on Wednesday August 31, 2016 @07:51PM (#12402315)
It's also a terrible comparison of hash functions for the purpose of hashmaps, because it tries to reduce the performance characteristics to a single number. The performance characteristics of a hash function varies over the size of the input. FarmHash is super complicated because it's basically a huge stable of hash functions that are selected based on input size.

For instance, looking at these numbers you might conclude XXHash is strictly faster than FNV, but in reality FNV performs much better for the more common case of small inputs (breaking even around 16-32 bytes).

Re:Robin Hood Hashing should be the default hash table imple... by diziet on Thursday September 01, 2016 @05:45PM (#12409146)
I disagree, as this simple test suite is not meant to be a definitive guide on which hash function is the best.

I would venture to say that your criticism is similar to saying that the Hutter Prize[1] is a terrible idea for someone who will need to do compression on a dataset as they will choose to use PAQ and it will run really slowly. Yes, there are trade-offs and optimizations for different use cases, but to say that it's a terrible comparison is unfair.

1) http://prize.hutter1.net/