@@ -35,10 +35,10 @@ use std::collections::VecDeque;
3535/// Run length at or above this value is treated as "long" for skip-island stats.
3636const DEFERRAL_LONG_RUN_THRESHOLD_ROWS : usize = 100 ;
3737/// Minimum skip selectivity required to avoid deferral once fragmentation increases.
38- pub const DEFERRAL_SKIP_SELECTIVITY_FLOOR : f64 = 0.10 ;
38+ const DEFERRAL_SKIP_SELECTIVITY_FLOOR : f64 = 0.10 ;
3939/// Minimum *incremental* skip selectivity required to avoid deferral once
4040/// fragmentation increases.
41- pub const DEFERRAL_DELTA_SKIP_SELECTIVITY_FLOOR : f64 = 0.02 ;
41+ const DEFERRAL_DELTA_SKIP_SELECTIVITY_FLOOR : f64 = 0.02 ;
4242
4343/// Histogram-like stats for selector runs, focused on skipped-row contiguity.
4444#[ derive( Debug , Default , Clone , Copy , Eq , PartialEq ) ]
@@ -174,11 +174,11 @@ impl ReadPlanBuilder {
174174 /// fragmentation. In that case, the result is deferred unless:
175175 ///
176176 /// 1. absolute skip selectivity (`skipped_rows / total_rows`) is at least
177- /// [ `DEFERRAL_SKIP_SELECTIVITY_FLOOR`] ,
177+ /// `DEFERRAL_SKIP_SELECTIVITY_FLOOR` (currently `0.10`) ,
178178 /// 2. absolute long-skip share (`long_skip_rows / skipped_rows`) is at least
179179 /// this threshold,
180180 /// 3. incremental skip selectivity added by this predicate is at least
181- /// [ `DEFERRAL_DELTA_SKIP_SELECTIVITY_FLOOR`] , and
181+ /// `DEFERRAL_DELTA_SKIP_SELECTIVITY_FLOOR` (currently `0.02`) , and
182182 /// 4. incremental long-skip share added by this predicate is at least this
183183 /// threshold.
184184 ///
0 commit comments