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

Build Proto State Object Once #14612

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Build Proto State Object Once #14612

merged 2 commits into from
Nov 4, 2024

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Nov 4, 2024

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

During serialization of a state to be persisted in our db, we have a step to lay it out as a protobuf object so that serialization can occur. We do this step twice, which can allocate a lot more memory than what is needed. This PR fixes that

Which issues(s) does this PR fix?

N.A

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@nisdas nisdas requested a review from a team as a code owner November 4, 2024 08:46
@nisdas nisdas added this pull request to the merge queue Nov 4, 2024
Merged via the queue into develop with commit 9ae9778 Nov 4, 2024
18 checks passed
@nisdas nisdas deleted the onlyCallItOnce branch November 4, 2024 09:29
@kasey kasey added the changelog/changed Changelog Section: Changed label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/changed Changelog Section: Changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants