fix comment

This commit is contained in:
zzz
2009-08-11 15:37:12 +00:00
parent 4e844187f7
commit d1114666de

View File

@ -47,7 +47,7 @@ public class DecayingBloomFilter {
_entryBytes = entryBytes; _entryBytes = entryBytes;
// this is instantiated in four different places, they may have different // this is instantiated in four different places, they may have different
// requirements, but for now use this as a gross method of memory reduction. // requirements, but for now use this as a gross method of memory reduction.
// m == 23 => 2MB each BloomSHA1 (8MB total) // m == 23 => 1MB each BloomSHA1 (4 pairs = 8MB total)
int m = context.getProperty("router.decayingBloomFilterM", DEFAULT_M); int m = context.getProperty("router.decayingBloomFilterM", DEFAULT_M);
_current = new BloomSHA1(m, 11); //new BloomSHA1(23, 11); _current = new BloomSHA1(m, 11); //new BloomSHA1(23, 11);
_previous = new BloomSHA1(m, 11); //new BloomSHA1(23, 11); _previous = new BloomSHA1(m, 11); //new BloomSHA1(23, 11);