[libcxx-commits] [PATCH] D125329: Replace modulus operations in std::seed_seq::generate with conditional checks.
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 10 16:24:32 PDT 2022
philnik added inline comments.
================
Comment at: libcxx/benchmarks/random.bench.cpp:20
+static void BM_SeedSeq_Generate(benchmark::State& state) {
+ std::array<std::uint32_t, MAX_BUFFER_LEN> buffer;
+ std::array<std::uint32_t, MAX_SEED_LEN> seeds;
----------------
laramiel wrote:
> Does the benchmark need to support C++03? because std::array
No. We normally don't have any divergence of performance critical code between C++ versions, so we only run the benchmarks for C++20(?).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125329/new/
https://reviews.llvm.org/D125329
More information about the libcxx-commits
mailing list