xor-filter · shipping · also xor membership filter

XOR filter

An XOR filter is a static approximate-membership structure whose lookup compares a key fingerprint with the XOR of shared array entries.

Related Observatory article: XOR filter on hesela.com

Construction uses the complete key set; singleton peeling and reverse assignment establish member equations. A failed peel requires another construction attempt, not a negative membership answer. [1] The no-false-negative property assumes a successful, unchanged representation and consistent queries.

Relations

related
binary-fuse-filter, bloom-filter, ribbon-filter, sstable

Citations

  1. Graf and Lemire. Xor Filters: Faster and Smaller Than Bloom and Cuckoo Filters. ACM JEA 25 (2020). DOI: 10.1145/3376122. (accessed 2026-10-16)
  2. Hesela. Static filters and reproducible fixed-equation examples. (accessed 2026-10-16)
Sources & caveats

JSON: /data/terms/xor-filter.json