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. |
||
|---|---|---|
| .. | ||
| keys.rs | ||
| lib.rs | ||
| on_disk_cache.rs | ||
| plumbing.rs | ||
| profiling_support.rs | ||
| README.md | ||
| values.rs | ||
For more information about how the query system works, see the rustc dev guide.