3b1fe7e7c9
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. |
||
---|---|---|
.. | ||
caches.rs | ||
config.rs | ||
job.rs | ||
mod.rs | ||
plumbing.rs | ||
README.md |
For more information about how the query system works, see the rustc dev guide.