netty5/codec/src
Sergey Polovko a2e113b987 Use ByteProcessor.FIND_LF to find end of line
Motivation:

Each call of ByteBuf.getByte(int) method does boundary checking. This can be eliminated by using ByteBuf.forEachByte(ByteProcessor) method and ByteProcessor.FIND_LF processor.

Modifications:

Find end of line with ByteProcessor.FIND_LF

Result:

A little better performance of LineBasedFrameDecoder.
2016-02-29 09:38:36 +01:00
..
main/java/io/netty/handler/codec Use ByteProcessor.FIND_LF to find end of line 2016-02-29 09:38:36 +01:00
test [#4793] Correctly add newlines when encode base64 2016-02-06 09:56:21 +01:00