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

convert store cell to list #27

Merged
merged 7 commits into from
Sep 18, 2024
Merged

convert store cell to list #27

merged 7 commits into from
Sep 18, 2024

Conversation

dwightguth
Copy link
Contributor

While the larger changes to the semantics to try to replace identifiers with integer indices proved to not be helpful for performance, the keys to the store cell were already densely laid-out integers, so it proved quite simple to convert this one cell to a List from a Map.

@dwightguth dwightguth marked this pull request as ready for review September 17, 2024 22:08
@dwightguth dwightguth requested a review from mariaKt September 17, 2024 22:08
Copy link
Contributor

@mariaKt mariaKt left a comment

Choose a reason for hiding this comment

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

Approved. What are the changes in swaps.sol for?

@dwightguth
Copy link
Contributor Author

It's a reversion of some changes Tolga made to the contract that caused problems for performance.

@dwightguth dwightguth merged commit f08a13d into main Sep 18, 2024
1 check passed
@dwightguth dwightguth deleted the store branch September 18, 2024 17:32
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