Rindle docs and package mapSkip to main content

btree_cost

Function btree_cost 

Source
pub fn btree_cost(rows: f64) -> f64
Expand description

btreeCost (sqlite-cost-model.ts): (rows * log2(rows)) / 10 — O(n log n) sort, /10 because SQLite sorts ~10× faster than pulling rows into the host. Operation order preserved (multiply then divide).