diff options
author | Paul Phillips <paulp@improving.org> | 2011-09-08 05:43:32 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-09-08 05:43:32 +0000 |
commit | 52c1d019d63d2fffadc8f3f159d654187ac61ece (patch) | |
tree | 6958700cb96b574b0894b3792f76be68d2a7161d /src/library/scala/collection/GenSetLike.scala | |
parent | c37e8f45cf86d0a3f6cb084e85f9751f5e906bf2 (diff) | |
download | scala-52c1d019d63d2fffadc8f3f159d654187ac61ece.tar.gz scala-52c1d019d63d2fffadc8f3f159d654187ac61ece.tar.bz2 scala-52c1d019d63d2fffadc8f3f159d654187ac61ece.zip |
Refinement of murmurhash implementation.
Integrates recent speed improvements to algorithm.
Contributed by Ruediger Keller, no review.
Diffstat (limited to 'src/library/scala/collection/GenSetLike.scala')
-rw-r--r-- | src/library/scala/collection/GenSetLike.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/GenSetLike.scala b/src/library/scala/collection/GenSetLike.scala index 2fc94c2e87..adbb043ecd 100644 --- a/src/library/scala/collection/GenSetLike.scala +++ b/src/library/scala/collection/GenSetLike.scala @@ -143,6 +143,6 @@ extends GenIterableLike[A, Repr] // Calling map on a set drops duplicates: any hashcode collisions would // then be dropped before they can be added. // Hash should be symmetric in set entries, but without trivial collisions. - override def hashCode() = util.MurmurHash.symmetricHash(seq, Set.hashSeed) + override def hashCode() = util.MurmurHash3.symmetricHash(seq, Set.hashSeed) } |