File tree 1 file changed +0
-6
lines changed
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:
30
30
- Query results are required to be immutable so they can safely be used by
31
31
different threads concurrently.
32
32
33
-
34
33
When a query ` foo ` is evaluated, the cache table for ` foo ` is locked.
35
34
36
35
- If there already is a result, we can clone it, release the lock and
@@ -52,11 +51,6 @@ to be done.
52
51
53
52
These are the basic ideas in the effort to make ` rustc ` parallel:
54
53
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
-
60
54
- There are a lot of loops in the compiler that just iterate over all items in
61
55
a crate. These can possibly be parallelized.
62
56
- 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