netty/netty — Issue #63: Fix DynamicChannelBuffer's inefficient memory consumption and excessive memory copy
Author: trustin
Created: 2011-11-17 00:50:08+00:00
State: open
Labels: type-improvement

`DynamicChannelBuffer` currently simply doubles its capacity when it needs more room. This is fine when the size of the buffer is not large, but doubling the capacity of a 128MiB buffer doesn't sound right. `DynamicChannelBuffer` should be rewritten as a composite buffer of smaller chunks (e.g. 2MiB) by taking advantage of the buffer pool proposed in #62.