Registry / utility / andreasbriese-bbloom

andreasbriese-bbloom

JSON →
library0.0.0-20190825152654-46b345b51c96gogounverified

Implements a Bloom filter, a probabilistic data structure for set membership testing.

go get github.com/AndreasBriese/bbloom
INSTALL
IMPORT
SIG · ANDREASBRIESE-BBLO
A
andreasbriese-bbloom
utilitygov0.0.0-20190825152654-46b345b51c96
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.

bbloom
github.com/AndreasBriese/bbloom

Creates a Bloom filter, adds an element, and checks membership.

package main import ( "fmt" "github.com/AndreasBriese/bbloom" ) func main() { bf := bbloom.NewBloomFilter(1000, 0.01) bf.Add([]byte("test")) fmt.Println(bf.Has([]byte("test"))) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190825152654-46b345b51c96latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Meta
1
OpenAI (training)
1
Resources
andreasbriese-bbloom — go get andreasbriese-bbloom · libregistry