pub(crate) fn row_selection_from_sorted_row_ids(
    row_ids: impl Iterator<Item = usize>,
    total_row_count: usize,
) -> RowSelectionExpand description
Converts an iterator of sorted row IDs into a RowSelection.
Note: the input iterator must be sorted in ascending order and contain unique row IDs in the range [0, total_row_count).