Skip to content

Commit 1df0262

Browse files
Sl1mb0jyn514
authored andcommittedSep 7, 2021
Docs: deleted copy
1 parent c31ec83 commit 1df0262

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎src/parallel-rustc.md

-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ multiple queries in parallel without too much of an effort:
3030
- Query results are required to be immutable so they can safely be used by
3131
different threads concurrently.
3232

33-
3433
When a query `foo` is evaluated, the cache table for `foo` is locked.
3534

3635
- If there already is a result, we can clone it, release the lock and
@@ -52,11 +51,6 @@ to be done.
5251

5352
These are the basic ideas in the effort to make `rustc` parallel:
5453

55-
- All data a query provider can access is accessed via the query context, so
56-
the query context can take care of synchronizing access.
57-
- Query results are required to be immutable so they can safely be used by
58-
different threads concurrently.
59-
6054
- There are a lot of loops in the compiler that just iterate over all items in
6155
a crate. These can possibly be parallelized.
6256
- We can use (a custom fork of) [`rayon`] to run tasks in parallel. The custom

0 commit comments

Comments
 (0)
Please sign in to comment.