Function sort_unique
Source pub(crate) fn sort_unique(rows: &mut Vec<(usize, i64, u64)>) -> usize
Expand description
Sorts rows and removes exact duplicates.
§Arguments
rows - Rows to deduplicate; sorted and deduplicated in place.
§Returns
The number of kept rows that share their group and timestamp with another kept
row (a different value at the same time).