Hash.FxHash

lib/Hash/FxHash.gob

rustc-hash 2.x, the hasher inside the Rust compiler: one add and one multiply per word, and a rotation at the end.

The multiply moves entropy only upward, so the state's well-mixed bits are its high ones, and a table indexes by the low ones. finishHash rotates left by 26 to bring the high bits down: enough for tables of up to 2^26 slots.

A byte run is first compressed to one word with a wyhash-style folded multiply, and that word is absorbed like any other.

type FxHash
instance Hasher FxHash