Skip to content
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

use fowler-noll-vo (fnv) hasher for hashmap #25

Open
louaykamel opened this issue Feb 11, 2020 · 0 comments
Open

use fowler-noll-vo (fnv) hasher for hashmap #25

louaykamel opened this issue Feb 11, 2020 · 0 comments

Comments

@louaykamel
Copy link
Contributor

currently default hasher in hashmap is siphash, which is good for large keys, but
fnv is demonstrably faster for small inputs(reporter_num: u8, stream_id: i16)

links:

@louaykamel louaykamel changed the title optimization: use fowler-noll-vo (fnv) hasher for hashmap use fowler-noll-vo (fnv) hasher for hashmap Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant