Skip to main content

default_equality_rows

Function default_equality_rows 

Source
pub fn default_equality_rows(equalities: usize, rows: f64) -> f64
Expand description

Returns how many rows an equality on an unmeasured index is assumed to match.

Never more than the table holds: a two-row table cannot return twenty. @param equalities - how many leading index columns the search pins down @param rows - how many rows the table is estimated to hold