Release rayon 1.6.0 / rayon-core 1.10.0 (2022-11-18)
The minimum supported rustc is now 1.56.
The new IndexedParallelIterator::fold_chunks and fold_chunks_with methods
work like ParallelIterator::fold and fold_with with fixed-size chunks of
items. This may be useful for predictable batching performance, without the
allocation overhead of IndexedParallelIterator::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 broadcast function and ThreadPool::broadcast method will
block until completion, returning a Vec of all return values.
The global spawn_broadcast function and methods on ThreadPool, Scope,
and ScopeFifo will 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::Drain when given an empty range.
Contributors
Thanks to all of the contributors for this release!
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rayon from 1.5.3 to 1.6.0.
Changelog
Sourced from rayon's changelog.
Commits
60cdb43
Merge #686efeeace
Release rayon 1.2.0 / rayon-core 1.6.0d993d7a
Merge #6832720d8d
Merge #682c6a294b
impl ParallelExtend<()> for ()9bfb3c6
clippy::inconsistent_digit_grouping3cd762e
clippy::toplevel_ref_argb216c3e
Update bare traits todyn Trait
58b0275
Once:new() is const-stable since Rust 1.2483b67e2
Merge #673Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)