Skip to main content

table_layouts_with_fences

Function table_layouts_with_fences 

Source
pub fn table_layouts_with_fences(
    buffer: &EditorBuffer,
    fences: &[usize],
) -> Vec<TableLayout>
Expand description

table_layouts with a caller-provided fence index.

Sweeps rows once, reusing fences for every point query instead of rescanning 0..row per row (which made the naive version quadratic).