Bloom Filter
Updated 2026-07-28
Summary
A Bloom filter is a space-efficient probabilistic data structure conceived by Burton Howard Bloom in 1970, consisting of a bit array mapped by a series of hash functions. It is used to test whether an element is a member of a set, offering far greater space and time efficiency than general algorithms. It produces no false negatives, but has a certain probability of false positives and is difficult to delete elements.
Definition
A Bloom filter is a space-efficient probabilistic data structure conceived by Burton Howard Bloom in 1970, consisting of a bit array mapped by a series of hash functions. It is used to test whether an element is a member of a set, offering far greater space and time efficiency than general algorithms. It produces no false negatives, but has a certain probability of false positives and is difficult to delete elements.
Introduction
How to use
A Bloom filter is a space-efficient probabilistic data structure conceived by Burton Howard Bloom in 1970, consisting of a bit array mapped by a series of hash functions. It is used to test whether an element is a member of a set, offering far greater space and time efficiency than general algorithms. It produces no false negatives, but has a certain probability of false positives and is difficult to delete elements.
Mechanism
A Bloom filter is a space-efficient probabilistic data structure that uses multiple hash functions to map elements to a bit array; it can quickly determine whether an element is 'definitely not in the set' or 'possibly in the set', allowing false positives but not false negatives.
Practice
In progress 0/3Practice this model in one real situation:
Cases
- Browser malicious URL filtering; pre-filtering existence before database queries; visited set for crawlers.
Common pitfalls
- Mistakenly thinking it can delete elements (standard version cannot; requires counting variant); thinking it has zero error (it has false positives).
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E5%B8%83%E9%9A%86%E8%BF%87%E6%BB%A4%E5%99%A8verified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS