Bloom filters.
A bouncer’s “definitely not on the list” memory: tiny, fast, and never wrongly says no.
- All of it? No way.1
A full guest list is huge — too big to carry or check quickly.
- 2
Keep a tiny grid of on/off switches instead — a few bits, not the whole book.
- 3
To add a name, run it through a few stamps and flip those switches on.
- Not on the list.4
To check: stamp the name. Any switch off? It was definitely never added.
- 5
All switches on? It is probably in — but switches can collide, so “maybe.”
- 6
Tiny and fast, never a false “no” — perfect for skipping expensive lookups.
Semicolony semicolony.dev/eli5/bloom-filter/comic