Skip to content

core/state: get rid of field pointer in journal #2149

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

Merged
merged 1 commit into from
Sep 6, 2024
Merged

core/state: get rid of field pointer in journal #2149

merged 1 commit into from
Sep 6, 2024

Conversation

ucwong
Copy link
Member

@ucwong ucwong commented Sep 6, 2024

This pull request replaces the field pointer in journal entry with the field itself, specifically the address of mutated account.

While it will introduce the extra allocation cost, but it's easier for code reading. Let's measure the overhead overall to see if the change is acceptable or not.

This pull request replaces the field pointer in journal entry with the
field itself, specifically the address of mutated account.

While it will introduce the extra allocation cost, but it's easier for
code reading. Let's measure the overhead overall to see if the change is
acceptable or not.
@ucwong ucwong marked this pull request as ready for review September 6, 2024 09:13
@ucwong ucwong merged commit 49a004f into master Sep 6, 2024
1 check failed
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.

2 participants