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

Backport hash improvements from Scala 2.13.16's MurmurHash3 #4719

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rossabaker
Copy link
Member

Either this or #4718 is sufficient to fix #4716. I propose we want both, but they are orthogonal.

Original problem and solution are from scala/scala#10912.

@rossabaker
Copy link
Member Author

As noted on #4716, testing the inequality of hash codes is tricky business, but I think we could imagine a test that checks against the collision that motivated this ticket in the first place. (The standard library did!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chain#hashCode is consistent with List#hashCode failure
3 participants