Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
XxHash.java
/** * The implementation of HashFunction interface. The XxHash uses XXH64 version xxHash * with a seed of 0. */ public class XxHash implements HashFunction { @Override public long hashBytes(byte[] input) { return LongHashFunction.xx(0).hashBytes(input); } @Override public long hashByteBuffer(ByteBuffer input) { return LongHashFunction.xx(0).hashBytes(input); }
Since the seed is always zero, the static implementation provided by the library can be used here.