diff options
| author | Markus Westerlind <markus.westerlind@distilnetworks.com> | 2020-02-24 10:40:36 +0100 |
|---|---|---|
| committer | Markus Westerlind <markus.westerlind@distilnetworks.com> | 2020-05-05 10:03:13 +0200 |
| commit | 1506b1fc6a42dda3e56789f43587448cc5bf4a36 (patch) | |
| tree | b469970b042b8c02f779c0010790bdde9db253e5 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 61621e2667869a9c6cc153d10f84b8850fd64494 (diff) | |
| download | rust-1506b1fc6a42dda3e56789f43587448cc5bf4a36.tar.gz rust-1506b1fc6a42dda3e56789f43587448cc5bf4a36.zip | |
perf: Reduce snapshot/rollback overhead
By merging the undo_log of all structures part of the snapshot the cost of creating a snapshot becomes much cheaper. Since snapshots with no or few changes are so frequent this ends up mattering more than the slight overhead of dispatching on the variants that map to each field.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
