GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — Lazily allocate ChunkedWriteHandler#queue by slandelle · Pull Request #13711 · netty/netty Conversation
|
|
CI 🤷♂️ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@slandelle there is a related test-failure: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@slandelle ping |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry for the delay. I'll have a look by tomorrow. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Motivation: When building an HTTP client, a `ChunkedWriteHandler` might be aded to the pipeline just in cause a `ChunkedInput` might be written, but that might never happen. In this case, we don't need the extra queue allocation and ChunkedWriteHandler should just behave as a pass-through. Modifications: * lazily initialize the queue * bypass work when queue is empty
6d289c4 to
7fb4833
Compare
|
@normanmaurer Test fixed. Happy new year, BTW. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@slandelle thanks... happy new year :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Motivation: When building an HTTP client, a `ChunkedWriteHandler` might be added to the pipeline just in case a `ChunkedInput` might be written, but that might never happen. In this case, we don't need the extra queue allocation and ChunkedWriteHandler should just behave as a pass-through. Modifications: * lazily initialize the queue * bypass work when the queue is empty Result: Less allocations
|
@normanmaurer do you need me to provide a PR against the main branch too? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@slandelle nope... already cherry-pick 756892c |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Great, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.