-
Notifications
You must be signed in to change notification settings - Fork 165
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
Improve the hashcode used in the GroupIterator #4212
Comments
JervenBolleman
added a commit
that referenced
this issue
Oct 17, 2022
…ues true Signed-off-by: Jerven Bolleman <jerven.bolleman@sib.swiss>
5 tasks
JervenBolleman
added a commit
that referenced
this issue
Nov 14, 2022
…ues true Signed-off-by: Jerven Bolleman <jerven.bolleman@sib.swiss>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
The current hash code of the GroupBy Key tends to saturate to all bits of the int set to 1 quickly due to use of ^= as the hash merge operation.
Expected Behavior
HashCode are supposed to be as well distributed as possible.
I suggest we change the hashcode to be a standard eclipse generated one.
Steps To Reproduce
No response
Version
4.2.0
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: