New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

github.com/a1305315624/go-jump-consistent-hash

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/a1305315624/go-jump-consistent-hash


Version published
Created

Jump Consistent Hash

Build Status Godoc

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

FAQs

Package last updated on 11 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts