arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.08258cs.DS
收藏

Xor过滤器:比Bloom和Cuckoo过滤器更快、更小

Xor Filters: Faster and Smaller Than Bloom and Cuckoo Filters

Thomas Mueller Graf, Daniel Lemire

摘要:

布隆过滤器提供快速近似集合成员资格,同时使用很少的内存。工程师经常使用这些过滤器来避免磁盘或网络访问等缓慢操作。作为替代,布谷鸟过滤器可能需要比布隆过滤器更少的空间,并且它更快。Chazelle等人提出了一种称为Bloomier filter的Bloom filter。Dietzfelbinger和Pagh描述了Bloomier过滤器的一种变体,可以有效地用于近似成员查询。据我们所知,它从未经过经验检验。我们回顾了他们的方法的有效实现,我们称之为异或过滤器。我们发现,异或过滤器可以比布鲁姆和布谷鸟过滤器更快,同时使用更少的内存。我们进一步表明,一个更紧凑的版本的xor滤波器(xor+)可以使用更少的空间比高度紧凑的替代品(例如,Golomb压缩序列),同时提供与Bloom过滤器竞争的速度。

英文摘要:

The Bloom filter provides fast approximate set membership while using little memory. Engineers often use these filters to avoid slow operations such as disk or network accesses. As an alternative, a cuckoo filter may need less space than a Bloom filter and it is faster. Chazelle et al. proposed a generalization of the Bloom filter called the Bloomier filter. Dietzfelbinger and Pagh described a variation on the Bloomier filter that can be used effectively for approximate membership queries. It has never been tested empirically, to our knowledge. We review an efficient implementation of their approach, which we call the xor filter. We find that xor filters can be faster than Bloom and cuckoo filters while using less memory. We further show that a more compact version of xor filters (xor+) can use even less space than highly compact alternatives (e.g., Golomb-compressed sequences) while providing speeds competitive with Bloom filters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑