netty5/codec/src
Norman Maurer 891be30a28 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:43:06 +02:00
..
main/java/io/netty/handler/codec Remove memory copy when extract frame in LengthFieldBasedFrameDecoder 2015-04-29 08:43:06 +02:00
test Revert "Ensure channelReadComplete() is called only when necessary" 2015-04-20 09:10:41 +02:00