mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +00:00
592 B
592 B
Jump Consistent Hash
Go implementation of the jump consistent hash algorithm[1] by John Lamping and Eric Veach.
[1] http://arxiv.org/pdf/1406.2294v1.pdf
Usage
import jump "github.com/renstrom/go-jump-consistent-hash"
func main() {
jump.Hash(256, 1024) // 520
}
License
MIT