New Rayon release!


#1

I thought I’d open a thread to mark Rayon releases. I’ll post a comment each time there’s a new release with the release notes etc. =)


#2

Release rayon 0.8.2

  • ParallelSliceMut now has six parallel sorting methods with the same
    variations as the standard library.
    • par_sort, par_sort_by, and par_sort_by_key perform stable sorts in
      parallel, using the default order, a custom comparator, or a key extraction
      function, respectively.
    • par_sort_unstable, par_sort_unstable_by, and par_sort_unstable_by_key
      perform unstable sorts with the same comparison options.
    • Thanks to @stjepang!

#3

The docs could use little usage examples like:

extern crate rayon;

fn main() {
    use rayon::slice::ParallelSliceMut;

    let mut a = [10, 2, 4];
    a.par_sort();
    println!("{:?}", a);
}