CODEC-236: MurmurHash2 and MurmurHash3 implementations.#22
Conversation
garydgregory
left a comment
There was a problem hiding this comment.
@melloware ,
Thank you for your PR.
Code coverage has decreased, which is not what we want when adding new code. Please run mvn -V clean install -Pjacoco site to discover where you are missing code coverage in the new code.
|
Hm, The Travid build (https://travis-ci.org/apache/commons-codec/jobs/556975625) reveals that the Javadoc for the new code is incomplete: It would be best if you could address this as well as the decrease in code coverage. |
|
@garydgregory Thanks for all your feedback. I went back and Javadoc'ed every method and param. I also was able to get Coveralls unit test coverage up 0.4%! When I grabbed the unit tests from Hive it looks like it had incomplete tests for 128 hashing so I created those tests. |
|
One more comment: Did you consider providing a |
|
I did consider MurmurHash1 but from what i can tell it was more of a prototype that led to the creation of Murmur2. From Wikipedia about Murmur1:
|
* CODEC-236: MurmurHash2 and MurmurHash3 implementations. * CODEC-236: Removed author tag. * CODEC-236: Added javadoc and increased unit test coverage.
All MurmurHash implementations are public domain.
Credit was given in Javadoc where both implementations came from.