forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce http2 buffer slicing (netty#8598)
Motivation DefaultHttp2FrameReader currently does a fair amount of "intermediate" slicing which can be avoided. Modifications Avoid slicing the input buffer in DefaultHttp2FrameReader until necessary. In one instance this also means retainedSlice can be used instead (which may also avoid allocating). Results Less allocations when using http2.
- Loading branch information
1 parent
8eb3130
commit a0c3081
Showing
2 changed files
with
50 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters