query::window_sort

Function find_successive_runs

source
fn find_successive_runs<T: Iterator<Item = (usize, Option<N>)>, N: Ord + Copy>(
    iter: T,
    sort_opts: &Option<SortOptions>,
) -> Vec<SucRun<N>>
Expand description

find all successive runs in the input iterator