Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nogurenn
Copy link
Contributor

@nogurenn nogurenn commented Jun 11, 2020

Closes scala/bug#11646

Adds instructive reminder for users of MurmurHash3, about the nature of this algorithm. The initially added lines are a direct distillation of Ichoran's comment. I'm describing this as initially because I think the lines are a bit loaded, unless it's clear enough?

PS: Can I consider final val productSeed = 0xcafebabe an easter egg?

@scala-jenkins scala-jenkins added this to the 2.13.4 milestone Jun 11, 2020
@SethTisue SethTisue requested a review from Ichoran June 11, 2020 23:33
@SethTisue SethTisue added the documentation No code change. Only documentation label Jun 11, 2020
@SethTisue SethTisue merged commit a9f2bdb into scala:2.13.x Jul 25, 2020
@SethTisue
Copy link
Member

thank you! (and, apologies for letting this sit so long)

@SethTisue
Copy link
Member

Can I consider final val productSeed = 0xcafebabe an easter egg

indeed, and see also https://dzone.com/articles/the-magic-word-in-java-cafebabe

hamzaremmal pushed a commit to hamzaremmal/scala3 that referenced this pull request May 2, 2025
…oc/11646

Amend mumurhash3 doc to remind users to check hashes in between versions
hamzaremmal pushed a commit to scala/scala3 that referenced this pull request May 7, 2025
…oc/11646

Amend mumurhash3 doc to remind users to check hashes in between versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation No code change. Only documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

document changeability of scala.util.hashing.MurmurHash3

3 participants