-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Primitives specialization for Hasher #40
Comments
It seems the default Another interesting thing is that the hashset benchmark was biased in some cases. |
Current progress involves hashes that are stable in the context of the |
Fixed a SIGSEGV when passed |
Merging and releasing On both my ARM and X86 platforms, I get about -13% of hashing time for small inputs ( |
Context
The
Hasher
trait exposes methods to hash primitives. Currently, we hash primitives by considering them all as slices of bytes. Hashing can be much performance if the type is known in advance (eg load primitive directly in SIMD vector).Triggered by the following discussion: rust-lang/hashbrown#487
Goals
Todo
write_u32
,write_u64
, ...)The text was updated successfully, but these errors were encountered: