tkaitchuck / aHash

aHash is a non-cryptographic hashing algorithm that uses the AES hardware instruction
https://crates.io/crates/ahash
Apache License 2.0
1.03k stars 101 forks source link

Expose specialized versions of `AHasher` through `specialized-hashers` feature #156

Open fu5ha opened 1 year ago

fu5ha commented 1 year ago

This adds a specialized-hashers feature which exposes the existing specialized hasher implementations that were under the nightly-only specialization feature for manual use. To support this, also adds BuildAHasherU64, BuildAHasherFixed, and BuildAHasherStr types that can be used in places that expect BuildHashers and which leverage existing infrastructure to create these specialized versions of hashers.

fu5ha commented 1 year ago

Those all make sense to me! It will probably be a few weeks until I get around to it -- going on vacation soon :)