netty5/codec/src
Norman Maurer 55fbf007f0 Remove memory copy when extract frame in LengthFieldBasedFrameDecoder
Motivation:

We are currently doing a memory cop to extract the frame in LengthFieldBasedFrameDecoder which can be eliminated.

Modifications:

Use buffer.slice(...).retain() to eliminate the memory copy.

Result:

Better performance.
2015-04-29 08:42:55 +02:00
..
main/java/io/netty/handler/codec Remove memory copy when extract frame in LengthFieldBasedFrameDecoder 2015-04-29 08:42:55 +02:00
test/java/io/netty/handler/codec Revert "Ensure ctx.fireChannelReadComplete() is only called when something was produced" 2015-04-20 09:02:34 +02:00