Skip to content

AsciiStrings can be batch-encoded#13197

Merged
normanmaurer merged 1 commit intonetty:4.1from
franz1981:4.1_loom_fix
Feb 7, 2023
Merged

AsciiStrings can be batch-encoded#13197
normanmaurer merged 1 commit intonetty:4.1from
franz1981:4.1_loom_fix

Conversation

@franz1981
Copy link
Copy Markdown
Contributor

Motivation:

ISO/ASCII AsciiString buffer encoding are not making uses of AsciiString type to skip byte per byte encoding.

Modification:

Detecting CharSequence's type to short circuit to faster encoding methods.

Result:

Faster AsciiString ISO/ASCII encoding

Motivation:

ISO/ASCII AsciiString buffer encoding are not making uses of AsciiString type to skip byte per byte encoding.

Modification:

Detecting CharSequence's type to short circuit to faster encoding methods.

Result:

Faster AsciiString ISO/ASCII encoding
@normanmaurer normanmaurer merged commit 06f70a4 into netty:4.1 Feb 7, 2023
@normanmaurer normanmaurer added this to the 4.1.88.Final milestone Feb 7, 2023
@normanmaurer
Copy link
Copy Markdown
Member

@franz1981 good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants