We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d83ad commit 7b0306eCopy full SHA for 7b0306e
src/Common/QueryFuzzer.h
@@ -79,6 +79,11 @@ class QueryFuzzer
79
// with some small-but-not-tiny probability), so the expected number of calls becomes infinite.
80
// Despite infinite expected tree size, the p99 size may still be moderate
81
// (see e.g. "St. Petersburg lottery"), so the failures can be rare in practice.
82
+ //
83
+ // (What does "infinite expected value" mean in practice? Suppose you keep generating more and
84
+ // more values and averaging them. If the expected value is finite, the average will be
85
+ // converging to it. If the expected value is inifinite, the average will keep growing without
86
+ // bound.)
87
size_t iteration_count = 0;
88
const size_t iteration_limit = 500000;
89
0 commit comments