a62fcd9d50
Motivation: We should not use Unpooled to allocate buffers if possible to ensure we can make use of pooling etc. Modifications: - Only allocate a buffer if really needed - Use the ByteBufAllocator of the offered ByteBuf - Ensure we not use buffer.copy() but explicitly allocate a buffer and then copy into it to not hit the limit of maxCapacity() Result: Improve allocations |
||
---|---|---|
.. | ||
src | ||
pom.xml |