Function glidesort::sort_with_buffer
source · pub fn sort_with_buffer<T: Ord>(v: &mut [T], buffer: &mut [MaybeUninit<T>])
Expand description
Like sort
, except this function does not allocate and uses the passed buffer instead.
pub fn sort_with_buffer<T: Ord>(v: &mut [T], buffer: &mut [MaybeUninit<T>])
Like sort
, except this function does not allocate and uses the passed buffer instead.