mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |