Function bitonic::bitonic_sort_by_key
[−]
[src]
pub fn bitonic_sort_by_key<T: Send, K, F: Send + Sync + Fn(&T) -> K>(
slice: &mut [T],
key: F
) where
K: Ord,
Sorts the slice with a key extraction function using parallel bitonic sort.
This sort isn't stable.
Panics
If the size of the array is not a power of two.