[PATCH] D16419: Use std::piecewise_constant_distribution instead of ad-hoc binary search.

Ivan Krasin via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 17:01:19 PST 2016


krasin added inline comments.

================
Comment at: lib/Fuzzer/FuzzerLoop.cpp:507
@@ +506,3 @@
+void Fuzzer::UpdateCorpusDistribution() {
+  size_t N = Corpus.size();
+  std::vector<double> Intervals(N+1);
----------------
ugh. Obscure!

Let me know, if you really want it.


http://reviews.llvm.org/D16419





More information about the llvm-commits mailing list