Comments (4)
It seems the default write
(non-specialized) wasn't that bad even on the smallest primitive types. On MacBook M1 pro, using write_u32
yields a +13% performance (which is still substantial).
Another interesting thing is that the hashset benchmark was biased in some cases. black_box
ing the keys prevents compiler optimizations that made this bench biased.
from gxhash.
Current progress involves hashes that are stable in the context of the Hasher
, however hashes for an u32
hashed via Hasher::write_u32
are not stable with hashes using the gxhash(&[u8], ...)
method. I think this is acceptable because those are two very different contexts. SMHasher should still pass for both contexes.
from gxhash.
Fixed a SIGSEGV when passed [u8]
is a null slice (not just an empty slice)
from gxhash.
Merging and releasing 2.3.0
On both my ARM and X86 platforms, I get about -13% of hashing time for small inputs (u8
, u16
, u32
, u64
, u128
and signed counterparts). On my ARM PC, gxhash
Hasher
is now faster than ahash
for such inputs. My on X86 PC, gxhash
remain a bit slower for these inputs (about 10% slower). I have a doubt in ahash
Hasher
passing SMHasher quality test for such inputs.
from gxhash.
Related Issues (20)
- Use aligned loads in get_partial_safe HOT 3
- Couple issues in the paper HOT 2
- Functionality on stable HOT 5
- Make GxHasher DOS resistant
- Don't finalize in Hasher::write, but in finish instead HOT 2
- Possible seed and value recovery HOT 8
- Missing `std` compatibility traits on `GxHasher` and `GxBuildHasher` HOT 1
- How to use AVX2 only for hashmap/set, and use stable hash for hash128/64/32 HOT 12
- how to use AVX2 only for hashmap/set οΌand use stable hash for hash128
- Tracking: missing compatibility with `std::HashMap` & `std::HashSet` HOT 5
- Hybrid state gxhash HOT 12
- Major bug: out of bounds read for some input sizes HOT 1
- cargo bench --no-fail-fast -F=avx2 failed HOT 9
- Quality issue: permutations produce the same hashes? HOT 4
- Latency benchmarks HOT 6
- Add fallback for platforms without AES acceleration
- Readme image link broken HOT 1
- error[E0432]: unresolved import `platform` HOT 13
- how many bytes use write() each time that are most efficient?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gxhash.