logoalt Hacker News

Binary fuse filters: Fast and smaller than xor filters (2022)

106 pointsby redbelllast Saturday at 2:02 PM8 commentsview on HN

Comments

dangtoday at 3:35 AM

Related prior work:

Xor Filters: Faster and Smaller Than Bloom and Cuckoo Filters - https://news.ycombinator.com/item?id=22742905 - March 2020 (25 comments)

Xor Filters: Faster and Smaller Than Bloom Filters - https://news.ycombinator.com/item?id=21840821 - Dec 2019 (81 comments)

show 1 reply
pastagetoday at 7:38 AM

I recommend the zig library [1], it was a joy to use. Bloom filters was one of the first interesting algorithms I did in class back in university, we upgraded hardware during the lab making the use of bloom filters unnecessary in a lab ment to interactively show its usefulness. I have had this repeated since then, these filters are magic until hardware catches up, having smaller filter is lovely.

[1] https://github.com/hexops/fastfilter

djmipstoday at 2:55 AM

This feels like a better xor filter implementation.

show 1 reply
vgb2k18today at 3:54 AM

Fast, but not faster than XOR filters. I was wondering if the title was a typo, but the article clarifies they sacrificed some speed for the smaller size.

show 2 replies