Skip to content

Clean up and streamline snapshot data structures#55906

Merged
bors merged 8 commits intorust-lang:masterfrom
nnethercote:rm-OpenSnapshot-CommittedSnapshot
Nov 25, 2018
Merged

Clean up and streamline snapshot data structures#55906
bors merged 8 commits intorust-lang:masterfrom
nnethercote:rm-OpenSnapshot-CommittedSnapshot

Conversation

@nnethercote
Copy link
Contributor

These commits clean up the snapshot structures a bit, so they are more consistent with each other and with the ena crate.

They also remove the OpenSnapshot and CommittedSnapshot entries in the undo log, just like I did for the ena crate in rust-lang/ena#14. This PR in combination with that ena PR reduces instruction counts by up to 6% on benchmarks.

r? @nikomatsakis. Note that this isn't quite ready for landing, because the ena dependency in the first commit needs to be updated once rust-lang/ena#14 lands. But otherwise it should be good.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants