about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-26 07:29:29 +0000
committerbors <bors@rust-lang.org>2022-07-26 07:29:29 +0000
commit96b9bb4620f4d48aa25c381c7ea77e0cab48ac5b (patch)
tree9490d7c26ad5b2283128c2f399953671116097d1 /compiler/rustc_mir_transform/src/coverage/query.rs
parentb629c85bd74dfb730a3e9308312b007c0bf027cb (diff)
parentf1063c054d3bc9d42eebf128e13ad25e9014a64e (diff)
downloadrust-96b9bb4620f4d48aa25c381c7ea77e0cab48ac5b.tar.gz
rust-96b9bb4620f4d48aa25c381c7ea77e0cab48ac5b.zip
Auto merge of #99677 - pietroalbini:pa-fix-97786-perf-regression, r=Mark-Simulacrum
Remove new allocations from `imported_source_files`

https://github.com/rust-lang/rust/pull/97786 introduced a [large performance regression](https://github.com/rust-lang/rust/pull/97786#issuecomment-1176552836). After some local investigation it turns out the allocations performed by my change were the cause of the perf regression. This PR refactors my change to remove those allocations.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions