[OT] The horizon of a stream
bearophile
bearophileHUGS at lycos.com
Thu Oct 23 14:01:31 PDT 2008
bearophile Wrote:
> Another solution that requires even less RAM is to use a bloom filter...
There's a third possible solution, that is very fast: assuming the hash values are uint (32 bit), then you can create a bitfield of 2^32 bits, it requires just 1/2 GB, that is 1/4 of my RAM. So each bit represents a possible different value of the hash.
Bye,
bearophile
More information about the Digitalmars-d
mailing list