wyhash-rs
wyhash-rs copied to clipboard
wyhash fast portable non-cryptographic hashing algorithm and random number generator in Rust
The c version release final version in 2022.4, any code sync from the original c version?
https://github.com/ManDeJan/zig-wyhash/issues/2 applies to you also. please consider filtering out bad seeds, by some kind of seed_init function.
Hello Team, Not a big deal, but some compiling warnings after updated to rust 1.75 nightly: warning: unnecessary parentheses around index expression --> src/final3/functions.rs:114:42 | 114 | ...= u64::from(c[((wyrng(&mut seed)...
Contrarily to what the README says—see https://github.com/wangyi-fudan/wyhash/issues/135
I wanted to compare the more upto date xxhash-rust (xxh3) with wyhash it seems smaller hashes wyhash is faster and larger hashes wyhash is faster test wyhash_bench::hash_004_bytes ... bench: 2...
bench.rs is also broken but it will take more than some simple fixes
As per the title, added a new struct which implements the [BuildHasher](https://doc.rust-lang.org/nightly/core/hash/trait.BuildHasher.html) trait and relative test suite.
Hi - I have added optional support for the [mem-dbg](https://github.com/zommiommy/mem_dbg-rs) crate, guarded behind the mem-dbg feature. I have also added optional support for enabling std, which is needed at this...