@@ -73,11 +73,10 @@ can be accessed directly through `Deref::deref`.
73
73
74
74
The parallel iterators provided by the [ ` rayon ` ] crate are easy ways
75
75
to implement parallelism. In the current implementation of the parallel
76
- compiler we use a custom fork of [ ` rayon ` ] to run tasks in parallel.
77
- * (more information wanted here)*
76
+ compiler we use a custom [ fork] [ rustc-rayon ] of [ ` rayon ` ] to run tasks in parallel.
78
77
79
- Some iterator functions are implemented in the current nightly compiler to
80
- run loops in parallel when ` parallel-compiler ` is true.
78
+ Some iterator functions are implemented to run loops in parallel
79
+ when ` parallel-compiler ` is true.
81
80
82
81
| Function(Omit ` Send ` and ` Sync ` ) | Introduction | Owning Module |
83
82
| ------------------------------------------------------------ | ------------------------------------------------------------ | -------------------------- |
@@ -108,7 +107,7 @@ are as follows:
108
107
| rustc_interface::passes::analysis | Deathness checking | Map::par_for_each_module |
109
108
| rustc_interface::passes::analysis | Privacy checking | Map::par_for_each_module |
110
109
| rustc_lint::late::check_crate | Run per-module lints | Map::par_for_each_module |
111
- | rustc_typeck::check_crate | Well formed checking | Map::par_for_each_module |
110
+ | rustc_typeck::check_crate | Well-formedness checking | Map::par_for_each_module |
112
111
113
112
There are still many loops that have the potential to use parallel iterators.
114
113
@@ -156,6 +155,7 @@ are a bit out of date):
156
155
- [ This IRLO thread by alexchricton about performance] [ irlo1 ]
157
156
158
157
[ `rayon` ] : https://crates.io/crates/rayon
158
+ [ rustc-rayon ] : https://github.com/rust-lang/rustc-rayon
159
159
[ irlo0 ] : https://internals.rust-lang.org/t/parallelizing-rustc-using-rayon/6606
160
160
[ imlist ] : https://github.com/nikomatsakis/rustc-parallelization/blob/master/interior-mutability-list.md
161
161
[ irlo1 ] : https://internals.rust-lang.org/t/help-test-parallel-rustc/11503
0 commit comments