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

Velocity's varint reading/writing optimizations #1070

Open
wants to merge 6 commits into
base: 2.0
Choose a base branch
from

Conversation

ShadowOfHeaven-Me
Copy link
Contributor

Basically it. Not sure why I can't disregard my the previous pr changes, but whatever, the current origin should have the exact same code

Copy link
Collaborator

@booky10 booky10 left a comment

Choose a reason for hiding this comment

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

Additionally, it may also make sense to move this varint read/write implementation to the ByteBufOperator implementations to prevent way too many getter calls

@booky10 booky10 changed the title Optimized readVarInt() Velocity's varint reading/writing optimizations Dec 22, 2024
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