Get the latest tech news
Optimizing uint64_t Digit Counting: A Method that Beats Lemire's by up to 143%
A suite of benchmarks. Contribute to RealTimeChris/BenchmarkSuite development by creating an account on GitHub.
template<typename value_type> std::vector<value_type> generateRandomIntegers(size_t count, size_t maxLength) { auto randomIntegers = generateRandomIntegers<value_type>(count, sizeof(value_type) == 4 ? bnch_swt::benchmark_stage<"compare-decimal-counting-functions-" + name>::template runBenchmark<"n-digits", "cyan">([&]() {
Or read this on Hacker News