Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.4% on proxy.golang.org
Top 1.4% dependent packages on proxy.golang.org
Top 0.6% dependent repos on proxy.golang.org
Top 8.2% forks on proxy.golang.org
Top 0.2% docker downloads on proxy.golang.org

proxy.golang.org : github.com/greatroar/blobloom

Package blobloom implements blocked Bloom filters. Blocked Bloom filters are an approximate set data structure: if a key has been added to a filter, a lookup of that key returns true, but if the key has not been added, there is a non-zero probability that the lookup still returns true (a false positive). False negatives are impossible: if the lookup for a key returns false, that key has not been added. In this package, keys are represented exclusively as hashes. Client code is responsible for supplying a 64-bit hash value. Compared to standard Bloom filters, blocked Bloom filters use the CPU cache more efficiently. A blocked Bloom filter is an array of ordinary Bloom filters of fixed size BlockBits (the blocks). The lower half of the hash selects the block to use. To achieve the same false positive rate (FPR) as a standard Bloom filter, a blocked Bloom filter requires more memory. For an FPR of at most 2e-6 (two in a million), it uses ~20% more memory. At 1e-10, the space required is double that of standard Bloom filter. For more details, see the 2010 paper by Putze, Sanders and Singler, https://algo2.iti.kit.edu/documents/cacheefficientbloomfilters-jea.pdf.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/greatroar/blobloom
Keywords: bloom, bloom-filter, bloom-filters, data-structures, golang, hash, hashing
License: Apache-2.0
Latest release: over 1 year ago
First release: about 4 years ago
Namespace: github.com/greatroar
Dependent packages: 14
Dependent repositories: 89
Stars: 31 on GitHub
Forks: 5 on GitHub
Docker dependents: 32
Docker downloads: 278,965,154
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

    Loading...
    Readme
    Loading...