Skip to main content

merge_2

Function merge_2 

Source
fn merge_2<D: Data>(
    cursor1: Cursor<D>,
    cursor2: Cursor<D>,
    depth: u8,
) -> 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.