
31 Aug
2009
31 Aug
'09
5:46 a.m.
Günther Schmidt
So I could insert all the keys in the table into a suitable bloom filter instead and the just query the bloom filter instead of the database.
Somewhat dependent on your need (i.e. Bloom filters may give false positives), this could be what you need. Bloom filters work well as a cache, especially when you expect lots of negative lookups and will do some more work on the positive ones (including identifying false positives)
I haven't figured out yet how to write a "literal" representation of the "filled" bloom filter yet though and could do with some tipps.
I'm not sure I understand what you mean here. -k -- If I haven't seen further, it is by standing in the footprints of giants