about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMarkus Westerlind <markus.westerlind@distilnetworks.com>2020-02-24 10:40:36 +0100
committerMarkus Westerlind <markus.westerlind@distilnetworks.com>2020-05-05 10:03:13 +0200
commit1506b1fc6a42dda3e56789f43587448cc5bf4a36 (patch)
treeb469970b042b8c02f779c0010790bdde9db253e5 /src/test/debuginfo/enum-thinlto.rs
parent61621e2667869a9c6cc153d10f84b8850fd64494 (diff)
downloadrust-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