mz_compute::sink::correction_v2

Function merge_2

Source
fn merge_2<D: Data>(cursor1: Cursor<D>, cursor2: Cursor<D>) -> Chain<D>
Expand description

Merge the given two cursors using a 2-way merge.

This function is a specialization of merge_many that avoids the overhead of a binary heap.