gxhash icon indicating copy to clipboard operation
gxhash copied to clipboard

The fastest hashing algorithm πŸ“ˆ

Results 32 gxhash issues
Sort by recently updated
recently updated
newest added

fix https://docs.rs/crate/gxhash/latest build failed see https://docs.rs/about/metadata

# Problem(s) This PR addresses as few points: - https://github.com/ogxd/gxhash/issues/57 - Performance issue due to code not being compiled for specific features, not harnessing the hardware capabilities, despite `target-cpu=native` being...

It looks like [GxBuildHasher](https://github.com/ogxd/gxhash/blob/898b9a88cf40c6515fd304957a942f694eb1855f/src/hasher.rs#L141-L147) accesses the Rng on every construction. Can the technique from [RandomState](https://github.com/rust-lang/rust/blob/421f7ca3a9c7ad574536666f6f0df6c7fe5e6780/library/std/src/hash/random.rs#L67-L75) be used instead which only does the RNG once per thread & then simply adds...

performance πŸš€

i see blake3 https://docs.rs/blake3/latest/blake3/struct.Hasher.html [Hasher](https://docs.rs/blake3/latest/blake3/struct.Hasher.html) implements [std::io::Write](https://doc.rust-lang.org/std/io/trait.Write.html), so it’s possible to use [std::io::copy](https://doc.rust-lang.org/std/io/fn.copy.html) to update a [Hasher](https://docs.rs/blake3/latest/blake3/struct.Hasher.html) from any reader. Unfortunately, this standard approach can limit performance, because copy currently...

In get_partial_safe, it's possible to use aligned loads by declaring the buffer as `MaybeUninit` and then casting the pointer for std::ptr::copy and zeroing the rest of the buffer, instead of...

performance πŸš€

I just looked into replacing `ahash` with `gxhash` elsewhere and ran into `HashMap::new()` missing. I reckon there may be more. I'll have a look later and may add some PRs...

compatibility