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

fix: Make RelayInfo zero allocation #1699

Merged
merged 9 commits into from
Mar 9, 2024
Merged

Conversation

stefanomerotta
Copy link
Contributor

Removed TextEntry struct and added deferred text response handling for gumps with spans.

The string instantiation is deferred to GetTextEntry method.

added deferred text response handling for gumps with spans
@kamronbatman kamronbatman changed the title Zero alloc Gump RelayInfo fix: Make RelayInfo lazy read the packet and zero allocation Mar 8, 2024
kamronbatman
kamronbatman previously approved these changes Mar 9, 2024
@kamronbatman kamronbatman changed the title fix: Make RelayInfo lazy read the packet and zero allocation fix: Make RelayInfo zero allocation Mar 9, 2024
@kamronbatman kamronbatman merged commit 76f132f into main Mar 9, 2024
11 of 13 checks passed
@kamronbatman kamronbatman deleted the smerotta/zero-alloc-relayinfo branch March 9, 2024 06:58
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.

None yet

2 participants