10 for (
int i = 0; i < 10000; ++i) {
27 for (
int i = 0; i < 10000; ++i) {
This implements a Golomb-coded set as defined in BIP 158.
std::unordered_set< Element, ByteVectorHash > ElementSet
std::vector< uint8_t > Element
Main entry point to nanobench's benchmarking facility.
static void ConstructGCSFilter(benchmark::Bench &bench)
static void MatchGCSFilter(benchmark::Bench &bench)
static unsigned char elements[DATACOUNT][DATALEN]
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...