Sourced from rayon's changelog.
Release rayon 1.6.0 / rayon-core 1.10.0 (2022-11-18)
- The minimum supported
rustcis now 1.56.- The new
IndexedParallelIterator::fold_chunksandfold_chunks_withmethods work likeParallelIterator::foldandfold_withwith fixed-size chunks of items. This may be useful for predictable batching performance, without the allocation overhead ofIndexedParallelIterator::chunks.- New "broadcast" methods run a given function on all threads in the pool. These run at a sort of reduced priority after each thread has exhausted their local work queue, but before they attempt work-stealing from other threads.
- The global
broadcastfunction andThreadPool::broadcastmethod will block until completion, returning aVecof all return values.- The global
spawn_broadcastfunction and methods onThreadPool,Scope, andScopeFifowill run detached, without blocking the current thread.- Panicking methods now use
#[track_caller]to report the caller's location.- Fixed a truncated length in
vec::Drainwhen given an empty range.Contributors
Thanks to all of the contributors for this release!
@cuviper@idanmuze@JoeyBF@JustForFun88@kianmeng@kornelski@ritchie46@ryanrussell@steffahn@TheIronBorn@willcroziRelease rayon 1.5.3 (2022-05-13)
- The new
ParallelSliceMut::par_sort_by_cached_keyis a stable sort that caches the keys for each item -- a parallel version ofslice::sort_by_cached_key.Release rayon-core 1.9.3 (2022-05-13)
- Fixed a use-after-free race in job notification.
60cdb43 Merge https://github.com/facebook/flipper/issues/686efeeace Release rayon 1.2.0 / rayon-core 1.6.0d993d7a Merge https://github.com/facebook/flipper/issues/6832720d8d Merge https://github.com/facebook/flipper/issues/682c6a294b impl ParallelExtend<()> for ()9bfb3c6 clippy::inconsistent_digit_grouping3cd762e clippy::toplevel_ref_argb216c3e Update bare traits to dyn Trait58b0275 Once:new() is const-stable since Rust 1.2483b67e2 Merge https://github.com/facebook/flipper/issues/673