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

Remove original_packet from ImmutableDeserializedPacket #5362

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

ksolana
Copy link

@ksolana ksolana commented Mar 19, 2025

Problem

Towards: #3357

Summary of Changes

Remove original_packet and only keep the forwarded:bool.

@ksolana
Copy link
Author

ksolana commented Mar 19, 2025

Depends on #5292

@apfitzge
Copy link

ImmutableDeserializedPacket::new doesn't need ownership of the packet. Taking a reference let's us remove a packet clone.

alexpyattaev
alexpyattaev previously approved these changes Mar 19, 2025
Copy link

@alexpyattaev alexpyattaev left a comment

Choose a reason for hiding this comment

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

Saving memory yay!

@ksolana ksolana merged commit d0c88d5 into anza-xyz:master Mar 20, 2025
47 checks passed
@ksolana ksolana deleted the idp_slim branch March 20, 2025 21:28
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.

3 participants