rust
rust copied to clipboard
Drop AST on a separate thread and prefetch `hir_crate`
This drop AST on a separate thread and prefetches hir_crate
.
A spawn
function is added to the parallel
module which spawn some work on the Rayon thread pool.
r? @cjgillot
rustbot has assigned @cjgillot. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
Did you measure a perf difference?
I expect it would below my noise threshold. I did verify the behavior with self profiling though.
:umbrella: The latest upstream changes (presumably #123631) made this pull request unmergeable. Please resolve the merge conflicts.