Skip to main content

find_sorted_runs

Function find_sorted_runs 

Source
pub fn find_sorted_runs<T>(
    items: &mut [T],
    overlaps: impl Fn(&T, &T) -> bool,
) -> Vec<SortedRun<T>>
where T: Item,
Expand description

Finds sorted runs using the caller’s overlap test within each active time range.