15 std::vector<unsigned char> data(32);
17 uint32_t nEntriesPerGeneration = (120000 + 1) / 2;
18 uint32_t countnow = 0;
24 data[2] = count >> 16;
25 data[3] = count >> 24;
26 if (countnow == nEntriesPerGeneration) {
30 std::cout <<
"RollingBloom-refresh,1," << (e-b)*0.000001 <<
"," << (e-b)*0.000001 <<
"," << (e-b)*0.000001 <<
"\n";
36 data[0] = count >> 24;
37 data[1] = count >> 16;
40 match += filter.contains(data);
RollingBloomFilter is a probabilistic "keep track of most recently inserted" set. ...