Some good choices for hash algorithms

Every now and then you’ll need a fast and nevertheless well-distributing hash-algorithm for things like a hash map (even though there’s no reason to write that yourself).

Rolling a hashing algorithm yourself can result in surprisingly bad performance. Instead take a look at the very informative post by Ian Boyd over at StackExchange.

The post only has numbers for Murmur2 hash which has since been replaced with Murmur3.