Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rayon from 1.3.0 to 1.4.1 #992

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2021

Bumps rayon from 1.3.0 to 1.4.1.

Changelog

Sourced from rayon's changelog.

Release rayon 1.4.1 (2020-09-29)

  • The new flat_map_iter and flatten_iter methods can be used to flatten sequential iterators, which may perform better in cases that don't need the nested parallelism of flat_map and flatten.
  • The new par_drain method is a parallel version of the standard drain for collections, removing items while keeping the original capacity. Collections that implement this through ParallelDrainRange support draining items from arbitrary index ranges, while ParallelDrainFull always drains everything.
  • The new positions method finds all items that match the given predicate and returns their indices in a new iterator.

Release rayon-core 1.8.1 (2020-09-17)

  • Fixed an overflow panic on high-contention workloads, for a counter that was meant to simply wrap. This panic only occurred with debug assertions enabled, and was much more likely on 32-bit targets.

Release rayon 1.4.0 / rayon-core 1.8.0 (2020-08-24)

  • Implemented a new thread scheduler, RFC 5, which uses targeted wakeups for new work and for notifications of completed stolen work, reducing wasteful CPU usage in idle threads.
  • Implemented IntoParallelIterator for Range<char> and RangeInclusive<char> with the same iteration semantics as Rust 1.45.
  • Relaxed the lifetime requirements of the initial scope closure.

Contributors

Thanks to all of the contributors for this release!

Release rayon 1.3.1 / rayon-core 1.7.1 (2020-06-15)

  • Fixed a use-after-free race in calls blocked between two rayon thread pools.
  • Collecting to an indexed Vec now drops any partial writes while unwinding, rather than just leaking them. If dropping also panics, Rust will abort.
    • Note: the old leaking behavior is considered safe, just not ideal.
  • The new IndexedParallelIterator::step_by() adapts an iterator to step through items by the given count, like Iterator::step_by().
  • The new ParallelSlice::par_chunks_exact() and mutable equivalent ParallelSliceMut::par_chunks_exact_mut() ensure that the chunks always have

... (truncated)

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 16, 2021
@jcape
Copy link
Contributor

jcape commented Sep 16, 2021

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/cargo/rayon-1.4.1 branch from b7ac538 to 7338748 Compare September 16, 2021 19:10
@jcape jcape self-assigned this Sep 16, 2021
@jcape jcape requested review from a team September 16, 2021 22:54
@jcape
Copy link
Contributor

jcape commented Sep 16, 2021

We'd previously skipped this because the change from rayon-1.3 -> rayon-1.4 was a new threading model, and it was generally deemed too risky to merge right before our first release. Now that we've just branched for our mobilecoin-1.2 release, there's plenty of time to test this for mobilecoin-1.3, and so this is a good time to bring this in now.

Additionally, this has lived out in the world for 9 extra months, and other projects have used it, so I'm more confident that it's likely to work (and/or 1.5.x works, and/or we can fix it before we need to do another release from master).

@dependabot dependabot bot force-pushed the dependabot/cargo/rayon-1.4.1 branch 2 times, most recently from 2fe4a1b to 452fc46 Compare September 16, 2021 23:21
@dependabot dependabot bot force-pushed the dependabot/cargo/rayon-1.4.1 branch from 452fc46 to 3b5a13c Compare September 17, 2021 17:31
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](rayon-rs/rayon@rayon-core-v1.3.0...rayon-core-v1.4.1)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/rayon-1.4.1 branch from 3b5a13c to a63968d Compare September 17, 2021 17:38
@jcape jcape merged commit 07a4cbc into master Sep 17, 2021
@jcape jcape deleted the dependabot/cargo/rayon-1.4.1 branch September 17, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants