rust/crates
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
..
base_db
cfg
flycheck
hir fix: don't panic in semantics due to cfg_attr disrupting offsets 2022-01-23 17:42:38 +01:00
hir_def Make syntax bridge fully infallible 2022-01-24 17:27:39 +01:00
hir_expand Make syntax bridge fully infallible 2022-01-24 17:27:39 +01:00
hir_ty Bump chalk 2022-01-21 19:51:21 +02:00
ide Merge #11281 2022-01-25 16:03:35 +00:00
ide_assists format 2022-01-14 22:13:45 +00:00
ide_completion Temporarily disable format string completions 2022-01-17 09:30:35 +02:00
ide_db Remove spurious format 2022-01-19 13:37:25 -06:00
ide_diagnostics Allow macros to expand to or-patterns 2022-01-17 16:52:53 +01:00
ide_ssr
limit
mbe Make syntax bridge fully infallible 2022-01-24 17:27:39 +01:00
parser Allow macros to expand to or-patterns 2022-01-17 16:52:53 +01:00
paths
proc_macro_api
proc_macro_srv Shrink diagnostic spans for errors inside macros 2022-01-08 15:40:42 +01:00
proc_macro_test
profile Generate AnyHasDocComments node 2022-01-07 12:38:18 +01:00
project_model Update tests 2022-01-18 18:27:29 +01:00
rust-analyzer Merge #11281 2022-01-25 16:03:35 +00:00
sourcegen
stdx Generate AnyHasDocComments node 2022-01-07 12:38:18 +01:00
syntax Move format specifier lexing from syntax to ide_db 2022-01-15 13:14:59 +01:00
test_utils
text_edit
toolchain
tt
vfs
vfs-notify