botnet
botnet copied to clipboard
Bump rayon from 1.5.3 to 1.7.0 in /botnet
Bumps rayon from 1.5.3 to 1.7.0.
Changelog
Sourced from rayon's changelog.
Release rayon 1.7.0 / rayon-core 1.11.0 (2023-03-03)
- The minimum supported
rustcis now 1.59.- Added a fallback when threading is unsupported.
- The new
ParallelIterator::take_anyandskip_anymethods work like unorderedIndexedParallelIterator::takeandskip, counting items in whatever order they are visited in parallel.- The new
ParallelIterator::take_any_whileandskip_any_whilemethods work like unorderedIterator::take_whileandskip_while, which previously had no parallel equivalent. The "while" condition may be satisfied from anywhere in the parallel iterator, affecting all future items regardless of position.- The new
yield_nowandyield_localfunctions will cooperatively yield execution to Rayon, either trying to execute pending work from the entire pool or from just the local deques of the current thread, respectively.Release rayon-core 1.10.2 (2023-01-22)
- Fixed miri-reported UB for SharedReadOnly tags protected by a call.
Release rayon 1.6.1 (2022-12-09)
- Simplified
par_bridgeto only pull one item at a time from the iterator, without batching. Threads that are waiting for iterator items will now block appropriately rather than spinning CPU. (Thanks@njaard!)- Added protection against recursion in
par_bridge, so iterators that also invoke rayon will not cause mutex recursion deadlocks.Release rayon-core 1.10.1 (2022-11-18)
- Fixed a race condition with threads going to sleep while a broadcast starts.
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
... (truncated)
Commits
7ffaf34Merge #716163003ebump the release datef7d7553Release rayon 1.3.0 / rayon-core 1.7.0b98bb23Remove unneeded extern crate statements9b92c7dcargo fmte02f439Remove useless 'use crate;' in favor of the crate preludea1db0feFix clippy::flat_map_identity4e40256Update ci/compat-Cargo.lock1f9d117Remove cfg(rayon_unstable)198ca7fRemove rayon-futures- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)