b14dfbb74c
Motivation: FastLzFrameDecoder currently not use the allocator to alocate the output buffer. This means that if you use the PooledByteBufAllocator you still can't make use of the pooling. Beside this the decoder also does an uncessary memory copy when no compression is used. Modifications: - Allocate the output buffer via the allocator - Don't allocate and copy if we handle an uncompressed chunk - Make use of ByteBufChecksum for a few optimizations when running on a recent JDK Result: Less allocations when using FastLzFrameDecoder |
||
---|---|---|
.. | ||
src | ||
pom.xml |