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

Optimised currency deltas #247

Closed
wants to merge 2 commits into from
Closed

Optimised currency deltas #247

wants to merge 2 commits into from

Conversation

hensha256
Copy link
Contributor

Its very expensive to make arrays in memory so its actually cheaper to do 2 external calls to exttload than create the array

@@ -0,0 +1 @@
189116
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Down ~1000 gas (tested locally)

@snreynolds
Copy link
Member

closing since we remove the lib in #242

@snreynolds snreynolds closed this Aug 2, 2024
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