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

perf(shwap): cache Both Row sides #4005

Merged
merged 3 commits into from
Dec 13, 2024
Merged

perf(shwap): cache Both Row sides #4005

merged 3 commits into from
Dec 13, 2024

Conversation

Wondertan
Copy link
Member

@Wondertan Wondertan commented Dec 12, 2024

Adds new Both RowSide indicating that Row is "complete" and keeps both the Left and the Ride sides. The Shares method now caches the decoded share and automatically converts Row to Both

It should be merged before #4002 so that JSON serialization contains the entire row and avoids expensive compute duplicatation.

Closes #3984

@Wondertan Wondertan added kind:misc Attached to miscellaneous PRs shwap labels Dec 12, 2024
@Wondertan Wondertan self-assigned this Dec 12, 2024
@Wondertan Wondertan enabled auto-merge (squash) December 12, 2024 13:37
@Wondertan
Copy link
Member Author

There seems to be a consistent failure in one swamp test that I should look into before merging

@Wondertan Wondertan disabled auto-merge December 12, 2024 14:05
@vgonkivs
Copy link
Member

you mean this one #3990?

@walldiss walldiss merged commit af7a0b7 into main Dec 13, 2024
30 checks passed
@walldiss walldiss deleted the shwap-cache-rows branch December 13, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:misc Attached to miscellaneous PRs shwap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shwap: Row should cache decoded shares
3 participants