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