A fast and simple 53-bit string hash function with decent collision resistance. Largely inspired by MurmurHash2/3, but with a focus on speed/simplicity. License: Public domain. Attribution appreciated. cyrb53 (c) 2018 bryc (github.com/bryc)
The string to hash.
An optional seed value.
A hash of the string.
A fast and simple 53-bit string hash function with decent collision resistance. Largely inspired by MurmurHash2/3, but with a focus on speed/simplicity. License: Public domain. Attribution appreciated. cyrb53 (c) 2018 bryc (github.com/bryc)