Closed Dherse closed 8 months ago
Good idea 👍
Don't forget to use RUSTFLAGS='-C target-cpu=native'
when building your project! (hopefully a requirement that will disappear with Rust's portable SIMD project 🙏 )
Available in version 2.1.1
, which is published :)
https://docs.rs/gxhash/latest/gxhash/struct.GxHasher.html
This adds an additional method on
Hasher
allow the user to get a 128-bit key as an output. This is useful for applications that rely on a large key (and hopefully low collisions) for distinguishing between object. In my case, I need this feature to experiment about the possibility of using GxHash to replace SipHasher in another project I am a contributor of.