[libcxx-commits] [PATCH] D125329: Replace modulus operations in std::seed_seq::generate with conditional checks.

Laramie Leavitt via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 16 10:05:06 PDT 2022


laramiel updated this revision to Diff 429756.
laramiel added a comment.

Sort benchmark consts


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125329/new/

https://reviews.llvm.org/D125329

Files:
  libcxx/benchmarks/random.bench.cpp


Index: libcxx/benchmarks/random.bench.cpp
===================================================================
--- libcxx/benchmarks/random.bench.cpp
+++ libcxx/benchmarks/random.bench.cpp
@@ -13,8 +13,8 @@
 
 #include "benchmark/benchmark.h"
 
-constexpr std::size_t MAX_SEED_LEN = 16;
 constexpr std::size_t MAX_BUFFER_LEN = 256;
+constexpr std::size_t MAX_SEED_LEN = 16;
 
 static void BM_SeedSeq_Generate(benchmark::State& state) {
   std::array<std::uint32_t, MAX_BUFFER_LEN> buffer;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125329.429756.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220516/5e0f682b/attachment.bin>


More information about the libcxx-commits mailing list