12 std::vector<unsigned char> data(32);
18 data[2] =
count >> 16;
19 data[3] =
count >> 24;
22 data[0] =
count >> 24;
23 data[1] =
count >> 16;
static void RollingBloom(benchmark::Bench &bench)
void insert(const std::vector< unsigned char > &vKey)
static void RollingBloomReset(benchmark::Bench &bench)
RollingBloomFilter is a probabilistic "keep track of most recently inserted" set. ...
bool contains(const std::vector< unsigned char > &vKey) const
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
Main entry point to nanobench's benchmarking facility.