15 std::vector<unsigned char> data(32);
bool contains(Span< const unsigned char > vKey) const
void insert(Span< const unsigned char > vKey)
static void RollingBloom(benchmark::Bench &bench)
static void WriteBE32(unsigned char *ptr, uint32_t x)
static void RollingBloomReset(benchmark::Bench &bench)
RollingBloomFilter is a probabilistic "keep track of most recently inserted" set. ...
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
static void WriteLE32(unsigned char *ptr, uint32_t x)
BENCHMARK(RollingBloom, benchmark::PriorityLevel::HIGH)
Main entry point to nanobench's benchmarking facility.