rust/compiler/rustc_query_impl/src
bors 3b1fe7e7c9 Auto merge of #94084 - Mark-Simulacrum:drop-sharded, r=cjgillot
Avoid query cache sharding code in single-threaded mode

In non-parallel compilers, this is just adding needless overhead at compilation time (since there is only one shard statically anyway). This amounts to roughly ~10 seconds reduction in bootstrap time, with overall neutral (some wins, some losses) performance results.

Parallel compiler performance should be largely unaffected by this PR; sharding is kept there.
2022-02-27 14:04:07 +00:00
..
keys.rs Overhaul Const. 2022-02-15 16:19:59 +11:00
lib.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
on_disk_cache.rs Move Sharded maps into each QueryCache impl 2022-02-20 12:10:46 -05:00
plumbing.rs Auto merge of #94084 - Mark-Simulacrum:drop-sharded, r=cjgillot 2022-02-27 14:04:07 +00:00
profiling_support.rs Move Sharded maps into each QueryCache impl 2022-02-20 12:10:46 -05:00
README.md Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
values.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00

For more information about how the query system works, see the rustc dev guide.