Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ordered map for commit log #1768

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Use ordered map for commit log #1768

merged 1 commit into from
Aug 9, 2024

Conversation

aswaterman
Copy link
Collaborator

In general, unordered maps should not be used for iteration, only for lookups.

In this case, using an ordered map guarantees that the order in which writes are logged is consistent for a given instruction.

Resolves #1499

In general, unordered maps should not be used for iteration, only for
lookups.

In this case, using an ordered map guarantees that the order in which
writes are logged is consistent for a given instruction.

Resolves #1499
@aswaterman aswaterman requested a review from jerryz123 August 9, 2024 16:49
@aswaterman aswaterman enabled auto-merge August 9, 2024 16:49
@aswaterman aswaterman merged commit 6f28e4b into master Aug 9, 2024
3 checks passed
@aswaterman aswaterman deleted the commit-log-ordered branch August 9, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FPU CSRs are not logging in a standard order
2 participants