-
Notifications
You must be signed in to change notification settings - Fork 110
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
Consider reducing the size of RandomState #158
Comments
It is a cpu tradeoff. It is possible to reduce the size to 16 bytes, but it will add additional instructions that need to be done on each hash. |
A separated HashBuilder sounds reasonable and would work fine for such use cases 👍 |
@arthurprs Can you confirm this work: #226 |
Closed via #226 Thank you! |
Do you think it's possible to reduce the size of RandomState? Could ahash get away with only 16 bytes maybe? Right now it's 32 bytes long, which is twice as much as the std lib version.
This might seem inconsequential, but it can add significant overhead when ahash hashmaps are used inside repeated/nested structures.
The text was updated successfully, but these errors were encountered: