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

change SLOAD to MLOAD #141

Closed
wants to merge 1 commit into from
Closed

Conversation

molly-ting
Copy link

Reading a state variable costs more gas than reading a local variable. If a state variable is read multiple times, it saves gas to cache the variable as a local variable and then read the local variable.

@stale
Copy link

stale bot commented Feb 8, 2023

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix This will not be worked on label Feb 8, 2023
@stale stale bot closed this Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant