Registry / utility / dgryski-go-jump

dgryski-go-jump

JSON →
library0.0.0-20211018200510-ba001c3ffce0gogounverified

Package jump implements Google's Jump Consistent Hash algorithm for fast, minimal memory consistent hashing.

go get github.com/dgryski/go-jump
INSTALL
IMPORT
SIG · DGRYSKI-GO-JUMP
D
dgryski-go-jump
utilitygov0.0.0-20211018200510-ba001c3ffce0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jump
github.com/dgryski/go-jump

Computes the consistent hash bucket for a key and prints it.

package main import ( "fmt" "github.com/dgryski/go-jump" ) func main() { bucket := jump.Hash(123456789, 10) fmt.Println(bucket) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20211018200510-ba001c3ffce0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
dgryski-go-jump — go get dgryski-go-jump · libregistry