Module filter
Source - BloomFilter
- A Bloom filter that keeps track of items of type
K. - Filter
- Inventory filter used for subscriptions and inventory comparison.
- FILTER_FP_RATE
- Target false positive rate of filter.
- FILTER_HASHES
- Number of hashes used for bloom filter.
- FILTER_SIZES
- Valid filter sizes.
- FILTER_SIZE_L
- Size in bytes of large bloom filter.
It can store about 13’675 items with a false positive rate of 1%.
- FILTER_SIZE_M
- Size in bytes of medium bloom filter.
It can store about 3’419 items with a false positive rate of 1%.
- FILTER_SIZE_S
- Size in bytes of small bloom filter.
It can store about 855 items with a false positive rate of 1%.