File tree 4 files changed +20
-7
lines changed
4 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 89
89
runs-on : ubuntu-latest
90
90
steps :
91
91
- uses : actions/checkout@v3
92
- - uses : dtolnay/rust-toolchain@1.67 .1
92
+ - uses : dtolnay/rust-toolchain@1.72 .1
93
93
with :
94
94
components : rustfmt
95
95
- run : cargo fmt --all --check
Original file line number Diff line number Diff line change 32
32
runs-on : ubuntu-latest
33
33
steps :
34
34
- uses : actions/checkout@v3
35
- - uses : dtolnay/rust-toolchain@1.67 .1
35
+ - uses : dtolnay/rust-toolchain@1.72 .1
36
36
with :
37
37
components : rustfmt
38
38
- run : cargo fmt --all --check
Original file line number Diff line number Diff line change
1
+ # Release rayon 1.8.0 / rayon-core 1.12.0 (2023-09-20)
2
+
3
+ - The minimum supported ` rustc ` is now 1.63.
4
+ - Added ` ThreadPoolBuilder::use_current_thread ` to use the builder thread as
5
+ part of the new thread pool. That thread does not run the pool's main loop,
6
+ but it may participate in work-stealing if it yields to rayon in some way.
7
+ - Implemented ` FromParallelIterator<T> ` for ` Box<[T]> ` , ` Rc<[T]> ` , and
8
+ ` Arc<[T]> ` , as well as ` FromParallelIterator<Box<str>> ` and
9
+ ` ParallelExtend<Box<str>> ` for ` String ` .
10
+ - ` ThreadPoolBuilder::build_scoped ` now uses ` std::thread::scope ` .
11
+ - The default number of threads is now determined using
12
+ ` std::thread::available_parallelism ` instead of the ` num_cpus ` crate.
13
+ - The internal logging facility has been removed, reducing bloat for all users.
14
+ - Many smaller performance tweaks and documentation updates.
15
+
1
16
# Release rayon 1.7.0 / rayon-core 1.11.0 (2023-03-03)
2
17
3
18
- The minimum supported ` rustc ` is now 1.59.
Original file line number Diff line number Diff line change @@ -110,11 +110,9 @@ impl Sleep {
110
110
111
111
#[ cold]
112
112
fn announce_sleepy ( & self ) -> JobsEventCounter {
113
- let counters = self
114
- . counters
115
- . increment_jobs_event_counter_if ( JobsEventCounter :: is_active) ;
116
- let jobs_counter = counters. jobs_counter ( ) ;
117
- jobs_counter
113
+ self . counters
114
+ . increment_jobs_event_counter_if ( JobsEventCounter :: is_active)
115
+ . jobs_counter ( )
118
116
}
119
117
120
118
#[ cold]
You can’t perform that action at this time.
0 commit comments