Docs: deleted copy

This commit is contained in:
Timothy Maloney 2021-09-06 13:45:44 -07:00 committed by Joshua Nelson
parent 720084903e
commit 0f657e23aa
1 changed files with 0 additions and 6 deletions

View File

@ -30,7 +30,6 @@ multiple queries in parallel without too much of an effort:
- Query results are required to be immutable so they can safely be used by - Query results are required to be immutable so they can safely be used by
different threads concurrently. different threads concurrently.
When a query `foo` is evaluated, the cache table for `foo` is locked. When a query `foo` is evaluated, the cache table for `foo` is locked.
- If there already is a result, we can clone it, release the lock and - If there already is a result, we can clone it, release the lock and
@ -52,11 +51,6 @@ to be done.
These are the basic ideas in the effort to make `rustc` parallel: These are the basic ideas in the effort to make `rustc` parallel:
- All data a query provider can access is accessed via the query context, so
the query context can take care of synchronizing access.
- Query results are required to be immutable so they can safely be used by
different threads concurrently.
- There are a lot of loops in the compiler that just iterate over all items in - There are a lot of loops in the compiler that just iterate over all items in
a crate. These can possibly be parallelized. a crate. These can possibly be parallelized.
- We can use (a custom fork of) [`rayon`] to run tasks in parallel. The custom - We can use (a custom fork of) [`rayon`] to run tasks in parallel. The custom