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

Add a MinecraftVarintLengthCompositeEncoder for backend connections #1419

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

astei
Copy link
Contributor

@astei astei commented Sep 2, 2024

This is an optimization that has been in BungeeCord for some time, but it's an idea that makes a lot of sense: avoid a memory copy when we don't need to do one. Netty/the JVM will hopefully be smart enough to use writev() or similar for this.

This is an optimization that has been in BungeeCord for some time, but it's an idea that makes a lot of sense: avoid a memory copy when we don't need to do one. The OS will hopefully be smart enough to use `writev()` or similar for this.
@astei astei merged commit 55f9509 into dev/3.0.0 Sep 2, 2024
2 checks passed
@astei astei deleted the astei/new-backend-framer branch September 2, 2024 06:25
pull bot pushed a commit to WiIIiam278/Velocity that referenced this pull request Sep 2, 2024
…PaperMC#1419)

This is an optimization that has been in BungeeCord for some time, but it's an idea that makes a lot of sense: avoid a memory copy when we don't need to do one. The OS will hopefully be smart enough to use `writev()` or similar for this.
R00tB33rMan pushed a commit to GemstoneGG/Velocity-CTD that referenced this pull request Sep 2, 2024
…PaperMC#1419)

This is an optimization that has been in BungeeCord for some time, but it's an idea that makes a lot of sense: avoid a memory copy when we don't need to do one. The OS will hopefully be smart enough to use `writev()` or similar for this.
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.

1 participant