Skip to main content

parallel_sort_by_key

Function parallel_sort_by_key 

Source
pub fn parallel_sort_by_key<T: Send>(
    items: &mut [T],
    key_fn: impl Fn(&T) -> f64 + Sync + Send,
)
Expand description

Parallel sort by key: sorts items based on key_fn.