Rust implementation of the XXH3 hash function.
- How is this crate different than
twox-hashorxxhash-rust? This crate has fewer hash algorithms (only XXH3 64bit and 128bit), but supports runtime detection of AVX2, AVX-512 & NEON instructions and therefore may be faster. I designed it for use in redb. - Does it support
no_std? Yes, with the defaultstdfeature turned off. Without std it can't detect CPU features at runtime, so it uses AVX2, AVX-512 & NEON only when the target enables them at compile time, for example with-C target-feature=+avx2.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.