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

Update Rust crate rayon to 1.6 #587

Merged
merged 1 commit into from
Nov 28, 2022
Merged

Update Rust crate rayon to 1.6 #587

merged 1 commit into from
Nov 28, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 18, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rayon dependencies minor 1.5 -> 1.6

Release Notes

rayon-rs/rayon

v1.6.0

Compare Source

  • 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!

v1.5.3

Compare Source

  • The new ParallelSliceMut::par_sort_by_cached_key is a stable sort that caches
    the keys for each item -- a parallel version of slice::sort_by_cached_key.

v1.5.2

Compare Source

  • The new ParallelSlice::par_rchunks() and par_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 new
    ParallelSliceMut::par_rchunks_mut() and par_rchunks_exact_mut() are the
    same for mutable slices.
  • The ParallelIterator::try_* methods now support std::ops::ControlFlow and
    std::task::Poll items, mirroring the unstable Try 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!

v1.5.1

Compare Source

  • The new in_place_scope and in_place_scope_fifo are variations of scope
    and scope_fifo, running the initial non-Send callback 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 FromParallelIterator make it possible to collect
    complicated nestings of items.
    • FromParallelIterator<(A, B)> for (FromA, FromB) works like unzip.
    • FromParallelIterator<Either<L, R>> for (A, B) works like partition_map.
  • Type inference now works better with parallel Range and RangeInclusive.
  • The implementation of FromParallelIterator and ParallelExtend for
    Vec<T> now uses MaybeUninit<T> internally to avoid creating any
    references to uninitialized data.
  • ParallelBridge fixed a bug with threads missing available work.

Contributors

Thanks to all of the contributors for this release!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/rayon-1.x branch from 5601514 to bc929ab Compare November 21, 2022 18:30
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2022

Codecov Report

❗ No coverage uploaded for pull request base (develop@b930b37). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #587   +/-   ##
==========================================
  Coverage           ?   59.25%           
==========================================
  Files              ?       82           
  Lines              ?    11499           
  Branches           ?     1859           
==========================================
  Hits               ?     6814           
  Misses             ?     3152           
  Partials           ?     1533           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@renovate renovate bot force-pushed the renovate/rayon-1.x branch 5 times, most recently from 0886dec to 7b8feef Compare November 23, 2022 23:18
@renovate renovate bot force-pushed the renovate/rayon-1.x branch from 7b8feef to fb8e842 Compare November 24, 2022 01:46
@renovate renovate bot merged commit 14c6e14 into develop Nov 28, 2022
@renovate renovate bot deleted the renovate/rayon-1.x branch November 28, 2022 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants