Bloom Filter
A Bloom Filter (located in Pronghorn
) is a space-efficient probabilistic data structure used in Pronghorn for fast data lookup.
Pronghorn uses MurmurHash for its hash-based lookups.
Usage
n
is the number of items in the filterp
is the probability of false positives, float between 0 and 1 or a number indicating 1-in-ptemplate
is a previous BloomFilter that you can re-usea
andb
are previous bloom filters for intersection checkingintersection
determines if there is an intersection
Example
Last updated