pub const DEFAULT_PROBE_CAP: usize = 10_000;Expand description
Default cap on the counting probe.
The probe costs a fraction of what it prices, and the cap is what bounds
that fraction. Above it the planner knows only “more than the cap”, which is
already enough to reject PreFilterCTE.
It bounds the walk since 0.15.10 and bounded only the returned list
before it, which is C-8. The number is unchanged: 10,000 candidate ids is
still far past the point where PreFilterCTE can win, and the release
changed what reaching it costs rather than where it sits.