[−][src]Function rdx::ska_sort::ska_byte_sort_on_partitions
pub fn ska_byte_sort_on_partitions<T, E>(
arr: &mut [T],
extract_key: E,
maximum_byte: u8,
start_offset: usize,
partitions: &mut [PartitionInfo]
) -> (u16, u8) where
E: Fn(&T) -> u8,
Sort an array using ska sort with byte keys.
Pass in partition arrays, which are assumed have count_or_offset
zeroed.
Returns the number of partitions there are and the highest touched partition.