Sourced from rayon's changelog.
Release rayon 1.5.1 / rayon-core 1.9.1 (2021-05-18)
- The new
in_place_scopeandin_place_scope_fifoare variations ofscopeandscope_fifo, running the initial non-Sendcallback directly on the current thread, rather than moving execution to the thread pool.- With Rust 1.51 or later, arrays now implement
IntoParallelIterator.- New implementations of
FromParallelIteratormake it possible tocollectcomplicated nestings of items.
FromParallelIterator<(A, B)> for (FromA, FromB)works likeunzip.FromParallelIterator<Either<L, R>> for (A, B)works likepartition_map.- Type inference now works better with parallel
RangeandRangeInclusive.- The implementation of
FromParallelIteratorandParallelExtendforVec<T>now usesMaybeUninit<T>internally to avoid creating any references to uninitialized data.ParallelBridgefixed a bug with threads missing available work.Contributors
Thanks to all of the contributors for this release!
ebcb09b adjust the latest release date93d9091 Merge https://github.com/facebook/flipper/issues/860dbc026b Release rayon 1.5.1 / rayon-core 1.9.187aae49 Merge https://github.com/facebook/flipper/issues/8592e13d89 Update demo dependencies3c7489e Merge https://github.com/facebook/flipper/issues/8550bd4ec6 Add in_place_scope_fifo6a01573 Merge https://github.com/facebook/flipper/issues/8448815e26 Implement in_place_scope: a scope that runs its driver closure on the same th...aacced8 Merge https://github.com/facebook/flipper/issues/852