about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-01-25 16:03:35 +0000
committerGitHub <noreply@github.com>2022-01-25 16:03:35 +0000
commit2cb85c14b622002767c66881c6a316a94e0f0be4 (patch)
tree141d17e197d3da3fad2d61eb99ae313be893b371 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent5f13d6af9ff59a07eb9d4e5b269c735bae17c372 (diff)
parent25f67b6939ec84235b12a35c1e2176f3c68a6dea (diff)
downloadrust-2cb85c14b622002767c66881c6a316a94e0f0be4.tar.gz
rust-2cb85c14b622002767c66881c6a316a94e0f0be4.zip
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>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions