netty5/buffer/src
Norman Maurer d6a00d0642 [#4313] ByteBufUtil.writeUtf8 should use fast-path for WrappedByteBuf
Motivation:

ByteBufUtil.writeUtf8(...) / writeUsAscii(...) can use a fast-path when writing into AbstractByteBuf. We should try to unwrap WrappedByteBuf implementations so
we are able to do the same on wrapped AbstractByteBuf instances.

Modifications:

- Try to unwrap WrappedByteBuf to use the fast-path

Result:

Faster writing of utf8 and usascii for WrappedByteBuf instances.
2015-10-13 11:53:31 +02:00
..
main/java/io/netty/buffer [#4313] ByteBufUtil.writeUtf8 should use fast-path for WrappedByteBuf 2015-10-13 11:53:31 +02:00
test/java/io/netty/buffer [#4313] ByteBufUtil.writeUtf8 should use fast-path for WrappedByteBuf 2015-10-13 11:53:31 +02:00