Skip to main content

hash_bytes

Function hash_bytes 

Source
pub fn hash_bytes(data: &[u8]) -> u64
Expand description

Compute a fast, non-cryptographic hash of a byte slice.

Uses the 64-bit variant of MurmurHash3 for good distribution.