Function bitonic::bitonic_sort_by [] [src]

pub fn bitonic_sort_by<T: Send, F: Send + Sync + Fn(&T, &T) -> Ordering>(
    slice: &mut [T],
    by: F
)

Sorts the slice with comparator function using parallel bitonic sort.

This sort isn't stable.

Panics

If the size of the array is not a power of two.