pub fn consolidate_updates_slice<D: Ord, T: Ord, R: Semigroup>(
    slice: &mut [(D, T, R)],
) -> usize
Expand description

Sorts and consolidates a slice, returning the valid prefix length.