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

bloomfilter-blocked

This library provides Bloom filters. A Bloom filter is a compact but probabilistic set-like data structure, supporting fast insert and membership operations. Bloom filters are probabilistic in the sense that when querying for set membership, they can (with some probability) falsely report that an element is present when it is not present. On the other hand it will never falsely report that an element is not present when in fact it is present. That is, it can have false positives but not false negatives. The false positive rate (FPR) can be adjusted. Bloom filters are compact, needing only a few bits per element. For example 10 bits per element is enough for a false positive rate (FPR) of 1%, and 15 bits for 0.1%. The library includes two implementations of Bloom filters: Features of the library: Fast. See the benchmark results. Compact. It uses optimal sized bit arrays: no bigger than necessary. Faster still: the block-structured Bloom filters are even faster, at the expense of needing more bits per entry. Supports very large Bloom filters, bigger than 2^32 bits. Simple API for specifying the size of Bloom filters. Support for hash salting, for using Bloom filters with untrusted inputs. Serialisation support with format version tracking.

Ecosystem
hackage.haskell.org
Latest Release
0.1.0.1
3 months ago
Versions
2
Downloads
23 total
Links
Registry hackage.haskell.org
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/bloomfilter-blocked
spec
License Apache-1.1
First Release 6 months ago
Last Synced about 18 hours ago