diff options
| author | bors <bors@rust-lang.org> | 2020-05-06 07:03:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-06 07:03:31 +0000 |
| commit | 8da5869fb738e51438dd1e0697c1b2c84eb11c59 (patch) | |
| tree | 70df81cd5fc440c16bfb091a4f7826c7d0cfe6c2 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs | |
| parent | 43271a39adc26d29350d4830b594c6435472815e (diff) | |
| parent | 3f85338f3f2a8e03b90e65fafd0bbe998baae98e (diff) | |
| download | rust-8da5869fb738e51438dd1e0697c1b2c84eb11c59.tar.gz rust-8da5869fb738e51438dd1e0697c1b2c84eb11c59.zip | |
Auto merge of #69464 - Marwes:detach_undo_log, r=nikomatsakis
perf: Unify the undo log of all snapshot types Extracted from #69218 and extended to all the current snapshot types. Since snapshotting is such a frequent action in the compiler and many of the scopes execute so little work, the act of creating the snapshot and rolling back empty/small snapshots end up showing in perf. By unifying all the logs into one the creation of snapshots becomes significantly cheaper at the cost of some complexity when combining the log with the specific data structures that are being mutated. Depends on https://github.com/rust-lang-nursery/ena/pull/29
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions
