Module hash

Module hash 

Source

Structs§

NoopU64BuildHasher
A BuildHasher implementation for NoopU64Hasher.
NoopU64Hasher
A no-op hasher that writes u64 values directly to the internal state.
StableHasher
A non-cryptographic hash implementation that is meant to be stable over time.

Functions§

get_fast_build_hasher
Returns a fresh FastBuildHasher instance.
get_fast_hasher
Returns a FastHasher instance backed by a shared, global state.
hash_single_fast
Hashes a single value using the “fast” hash implementation, and returns the 64-bit hash value.
hash_single_stable
Hashes a single value using the “stable” hash implementation, and returns the 64-bit hash value.

Type Aliases§

FastBuildHasher
BuildHasher implementation for FastHasher.
FastHasher
A fast, non-cryptographic hash implementation that is optimized for quality.