Dependencies: Bump rayon from 1.7.0 to 1.9.0
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
andby_uniform_blocks
allow processing items in smaller groups at a time.- The new
iter::walk_tree
,walk_tree_prefix
, andwalk_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 ofcollect
.- The new methods
ParallelSliceMut::par_split_inclusive_mut
,ParallelSlice::par_split_inclusive
, andParallelString::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 implementsFromParallelIterator<_>
andParallelExtend<_>
for a few item types similar to the standardFromIterator
andExtend
.- 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 forbiddenatomics.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>
forBox<[T]>
,Rc<[T]>
, andArc<[T]>
, as well asFromParallelIterator<Box<str>>
andParallelExtend<Box<str>>
forString
.ThreadPoolBuilder::build_scoped
now usesstd::thread::scope
.- The default number of threads is now determined using
std::thread::available_parallelism
instead of thenum_cpus
crate.- The internal logging facility has been removed, reducing bloat for all users.
- Many smaller performance tweaks and documentation updates.
Commits
-
dc13cb7
Merge #810 -
67eeea6
Release rayon 1.5.0 / rayon-core 1.9.0 -
4828f30
Merge #808 -
eeb0d1a
update ci/compat-Cargo.lock -
12f0d20
Update glium so that rayon-demo runs on Gnome Wayland -
1f069d7
Merge #807 -
9691328
Use Iterator::copied -
e81835c
Update crossbeam dependencies (requires Rust 1.36) -
5b3d917
Merge #804 -
5c55033
Release rayon 1.4.1 - Additional commits viewable in compare view