Rindle docs and package mapSkip to main content

merge_sorted_streams

Function merge_sorted_streams 

Source
pub fn merge_sorted_streams<'g>(
    streams: Vec<RowFlow<'g>>,
    sort: Sort,
    reverse: bool,
) -> RowFlow<'g>
Expand description

K-way min-heap merge of pre-sorted row streams under the reverse-aware comparator. Drop-clean (early close drops every sub-stream — §5.5).