rust/crates/rust-analyzer
bors[bot] 2cb85c14b6
Merge #11281
11281: ide: parallel prime caches r=jonas-schievink a=jhgg

cache priming goes brrrr... the successor to #10149

---

this PR implements a parallel cache priming strategy that uses a topological work queue to feed a pool of worker threads the crates to index in parallel.

## todo
- [x] should we keep the old prime caches?
- [x] we should use num_cpus to detect how many cpus to use to prime caches. should we also expose a config for # of worker CPU threads to use?
- [x] something is wonky with cancellation, need to figure it out before this can merge. 

Co-authored-by: Jake Heinz <jh@discordapp.com>
2022-01-25 16:03:35 +00:00
..
src Merge #11281 2022-01-25 16:03:35 +00:00
tests/slow-tests feat: poke user when supplying faulty configurations 2022-01-06 14:24:19 +01:00
build.rs
Cargo.toml cleanup + detect num cpus 2022-01-14 09:48:59 +00:00