1 unstable release
0.1.0 | Feb 27, 2022 |
---|
#1543 in Algorithms
13,504 downloads per month
Used in 8 crates
(3 directly)
8KB
150 lines
murmur2 Hash Functions
This is a pure Rust implementation of the murmur2 hash functions.
It is tested against the original C++ implementation.
To keep this crate no_std
and dependency free,
the tests live in a different crate, which is not published to crates.io.
The implementations have not been particularly optimized for performance.
The original C++ implementations are architecture/endianness dependent.
The only independent function provided is MurmurHashNeutral2
.
This crate does not follow that scheme,
all functions are provided in an endianness-dependent and -independent version.
The endianness-dependent versions have their name suffixed with a ne
, for "native endian".