Skip to content

Dependencies: Bump rayon from 1.7.0 to 1.9.0

dependabot requested to merge dependabot-cargo-rayon-1.9.0 into master

Bumps rayon from 1.7.0 to 1.9.0.

Changelog

Sourced from rayon's changelog.

Release rayon 1.9.0 (2024-02-27)

  • The new methods IndexedParallelIterator::by_exponential_blocks and by_uniform_blocks allow processing items in smaller groups at a time.
  • The new iter::walk_tree, walk_tree_prefix, and walk_tree_postfix functions enable custom parallel iteration over tree-like structures.
  • The new method ParallelIterator::collect_vec_list returns items as a linked list of vectors, which is an efficient mode of parallel collection used by many of the internal implementations of collect.
  • The new methods ParallelSliceMut::par_split_inclusive_mut, ParallelSlice::par_split_inclusive, and ParallelString::par_split_inclusive all work like a normal split but keeping the separator as part of the left slice.
  • The new ParallelString::par_split_ascii_whitespace splits only on ASCII whitespace, which is faster than including Unicode multi-byte whitespace.
  • OsString now implements FromParallelIterator<_> and ParallelExtend<_> for a few item types similar to the standard FromIterator and Extend.
  • The internal Pattern trait for string methods is now implemented for [char; N] and &[char; N], matching any of the given characters.

Release rayon 1.8.1 / rayon-core 1.12.1 (2024-01-17)

  • The new "web_spin_lock" crate feature makes mutexes spin on the main browser thread in WebAssembly, rather than suffer an error about forbidden atomics.wait if they were to block in that context. Thanks @​RReverser!

Release rayon 1.8.0 / rayon-core 1.12.0 (2023-09-20)

  • The minimum supported rustc is now 1.63.
  • Added ThreadPoolBuilder::use_current_thread to use the builder thread as part of the new thread pool. That thread does not run the pool's main loop, but it may participate in work-stealing if it yields to rayon in some way.
  • Implemented FromParallelIterator<T> for Box<[T]>, Rc<[T]>, and Arc<[T]>, as well as FromParallelIterator<Box<str>> and ParallelExtend<Box<str>> for String.
  • ThreadPoolBuilder::build_scoped now uses std::thread::scope.
  • The default number of threads is now determined using std::thread::available_parallelism instead of the num_cpus crate.
  • The internal logging facility has been removed, reducing bloat for all users.
  • Many smaller performance tweaks and documentation updates.
Commits

Merge request reports