go-ethereum/vendor/github.com/cespare/xxhash/go.mod
Łukasz Kurowski 79ab3d3a5a trie/cache: use xxhash64 for bigcache
Hashing is almost twice as fast compared to default bigcache hash
function.

BenchmarkXXHash64-12  19.1 ns/op
BenchmarkFNV64-12     35.7 ns/op

Benchmarks are available to reproduce results:
https://gist.github.com/crackcomm/68e284c5f33d50c5a58573fbbea673cd
2018-11-15 21:10:20 +01:00

6 lines
146 B
Modula-2

module github.com/cespare/xxhash
require (
github.com/OneOfOne/xxhash v1.2.2
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72
)