]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #99677 - pietroalbini:pa-fix-97786-perf-regression, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Tue, 26 Jul 2022 07:29:29 +0000 (07:29 +0000)
committerbors <bors@rust-lang.org>
Tue, 26 Jul 2022 07:29:29 +0000 (07:29 +0000)
commit96b9bb4620f4d48aa25c381c7ea77e0cab48ac5b
tree9490d7c26ad5b2283128c2f399953671116097d1
parentb629c85bd74dfb730a3e9308312b007c0bf027cb
parentf1063c054d3bc9d42eebf128e13ad25e9014a64e
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.