Opposite of Bloom filter?
Posted
by abc
on Stack Overflow
See other posts from Stack Overflow
or by abc
Published on 2009-03-11T18:18:01Z
Indexed on
2010/05/08
16:48 UTC
Read the original article
Hit count: 353
bloom-filter
|data-structures
Hi,
I'm trying to optimize a piece of software which is basically running millions of tests. These tests are generated in such a way that there can be some repetitions. Of course, I don't want to spend time running tests which I already ran if I can avoid it efficiently.
So, I'm thinking about using a Bloom filter to store the tests which have been already ran. However, the Bloom filter errs on the unsafe side for me. It gives false positives. That is, it may report that I've ran a test which I haven't. Although this could be acceptable in the scenario I'm working on, I was wondering if there's an equivalent to a Bloom filter, but erring on the opposite side, that is, only giving false negatives.
I've skimmed through the literature without any luck.
© Stack Overflow or respective owner