Skip to main content

merge_sort_parallel

Function merge_sort_parallel 

Source
pub fn merge_sort_parallel(data: &mut Vec<f64>)
Expand description

Parallel merge sort of a Vecf64` using rayon.

Splits the input in half recursively, sorts each half in parallel, then merges sequentially. Falls back to sort_unstable_by at small sizes.