Skip to content

Commit 4128e99

Browse files
SparrowLiitshepang
authored andcommitted
A few corrections
1 parent bbdb0ca commit 4128e99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/parallel-rustc.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,10 @@ can be accessed directly through `Deref::deref`.
7373

7474
The parallel iterators provided by the [`rayon`] crate are easy ways
7575
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.
7877

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.
8180

8281
| Function(Omit `Send` and `Sync`) | Introduction | Owning Module |
8382
| ------------------------------------------------------------ | ------------------------------------------------------------ | -------------------------- |
@@ -108,7 +107,7 @@ are as follows:
108107
| rustc_interface::passes::analysis | Deathness checking | Map::par_for_each_module |
109108
| rustc_interface::passes::analysis | Privacy checking | Map::par_for_each_module |
110109
| 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 |
112111

113112
There are still many loops that have the potential to use parallel iterators.
114113

@@ -156,6 +155,7 @@ are a bit out of date):
156155
- [This IRLO thread by alexchricton about performance][irlo1]
157156

158157
[`rayon`]: https://crates.io/crates/rayon
158+
[rustc-rayon]: https://github.com/rust-lang/rustc-rayon
159159
[irlo0]: https://internals.rust-lang.org/t/parallelizing-rustc-using-rayon/6606
160160
[imlist]: https://github.com/nikomatsakis/rustc-parallelization/blob/master/interior-mutability-list.md
161161
[irlo1]: https://internals.rust-lang.org/t/help-test-parallel-rustc/11503

0 commit comments

Comments
 (0)