pub fn hash(seed: u64, data: &[u8]) -> u64Expand description
The venerable wyhash hash function.
It’s fast, has good statistical properties, and is in the public domain. See: https://github.com/wangyi-fudan/wyhash If you visit the link, you’ll find that it was superseded by “rapidhash”, but that’s not particularly interesting for this project. rapidhash results in way larger assembly and isn’t faster when hashing small amounts of data.