31 Dec
2017
31 Dec
'17
3:21 p.m.
On December 31, 2017 3:29:07 AM Peter Dimov via Boost
What (non-cryptographic) hash functions should a hypothetical future Boost hash library contain? Have clear winners emerged by now? Which ones do people prefer?
SipHash is basically a given, but it's not optimized for speed.
There are a number of widely used hash functions. I often use MurmurHash or one-at-a-time for their speed and simplicity. CityHash is also known and I've just discovered its successor, FarmHash.