Sourced from rayon's changelog.
Release rayon 1.5.2 / rayon-core 1.9.2 (2022-04-13)
- The new
ParallelSlice::par_rchunks()
andpar_rchunks_exact()
iterate slice chunks in reverse, aligned the against the end of the slice if the length is not a perfect multiple of the chunk size. The newParallelSliceMut::par_rchunks_mut()
andpar_rchunks_exact_mut()
are the same for mutable slices.- The
ParallelIterator::try_*
methods now supportstd::ops::ControlFlow
andstd::task::Poll
items, mirroring the unstableTry
implementations in the standard library.- The
ParallelString
pattern-based methods now support&[char]
patterns, which match when any character in that slice is found in the string.- A soft limit is now enforced on the number of threads allowed in a single thread pool, respecting internal bit limits that already existed. The current maximum is publicly available from the new function
max_num_threads()
.- Fixed several Stacked Borrow and provenance issues found by
cargo miri
.Contributors
Thanks to all of the contributors for this release!