Skip to content

Initialize hashers with RandomState#1

Merged
onatm merged 1 commit intodistrentic:masterfrom
sugar700:initialize_with_random_state
Aug 10, 2020
Merged

Initialize hashers with RandomState#1
onatm merged 1 commit intodistrentic:masterfrom
sugar700:initialize_with_random_state

Conversation

@sugar700
Copy link
Copy Markdown
Contributor

I think usage of DefaultHasher::new() (which always initializes exact same hasher) was a mistake considering there is no real reason to store that within a struct. I'm assuming you meant the hasher state to be random, so using RandomState::new().build_hasher() instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants