scala-hashing icon indicating copy to clipboard operation
scala-hashing copied to clipboard

Fast non-cryptographic hash functions for Scala

Results 4 scala-hashing issues
Sort by recently updated
recently updated
newest added

Currently due to usage of `sun.nio.ch.DirectBuffer` it is impossible to use this library with jdk9+ since it leads to `lass com.desmondyeung.hashing.StreamingHash64 cannot access class sun.nio.ch.DirectBuffer (in module java.base) because module...

This is giving me 19 bit hashes, not 64?

According to https://cyan4973.github.io/xxHash/, XXH3 appears to be 50% faster than XXH64. It would be a nice addition to the existing implementations.

```sbt bench/jmh:run -i 3 -wi 3 -f1 XxHash64Bench.com_desmondyeung_hashing ``` 2.12.9 ``` [info] Benchmark (inputSize) Mode Cnt Score Error Units [info] XxHash64Bench.com_desmondyeung_hashing 8 thrpt 3 185778619.019 ± 1934781.573 ops/s [info] XxHash64Bench.com_desmondyeung_hashing...