[PATCH] D16419: Use std::piecewise_constant_distribution instead of ad-hoc binary search.
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 11:23:00 PST 2016
kcc added inline comments.
================
Comment at: lib/Fuzzer/FuzzerInternal.h:287
@@ -282,1 +286,3 @@
+ std::mt19937 Generator;
+ std::piecewise_constant_distribution<double> CorpusDistribution;
----------------
We should not be using yet another random generator, we already have one.
Please use it. (USF.GetRand())
http://reviews.llvm.org/D16419
More information about the llvm-commits
mailing list