file.pdf (372.25 kB)
Fast Cache for Your Text: Accelerating Exact Pattern Matching with Feed-Forward Bloom Filters
journal contributionposted on 2008-07-01, 00:00 authored by Iulian Moraru, David G. Andersen
This paper presents an algorithm for exact pattern matching based on a new type of Bloom filter that we call a feed-forward Bloom filter. Besides filtering the input corpus, a feed-forward Bloom filter is also able to reduce the set of patterns needed for the exact matching phase. We show that this technique, along with a CPU architecture aware design of the Bloom filter, can provide speedups between 2× and 30×, and memory consumption reductions as large as 50× when compared with grep, while the filtering speed can be as much as 5× higher than that of a normal Bloom filters.