File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff 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-
3433When 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
5352These 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
You can’t perform that action at this time.
0 commit comments