Registry / utility / edwingeng-doublejump

edwingeng-doublejump

JSON →
library1.0.1gogounverified

Package doublejump provides a revamped Google's jump consistent hash.

go get github.com/edwingeng/doublejump
INSTALL
IMPORT
SIG · EDWINGENG-DOUBLEJU
E
edwingeng-doublejump
utilitygov1.0.1
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.

doublejump
✓ github.com/edwingeng/doublejump

Creates a new consistent hash ring, adds a node, and looks up a key.

package main import ( "fmt" "github.com/edwingeng/doublejump" ) func main() { h := doublejump.NewHash() h.Add("node1") result := h.Lookup(42) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
edwingeng-doublejump — go get edwingeng-doublejump · libregistry