netty5/codec-http2/src
Scott Mitchell 8b5f2d7716 Http2DefaultFrameWriter direct write instead of copy
Motivation:
The Http2DefaultFrameWriter copies all contents into a buffer (or uses a CompositeBuffer in 1 case) and then writes that buffer to the socket. There is an opportunity to avoid the copy operations and write directly to the socket.

Modifications:
- Http2DefaultFrameWriter should avoid copy operations where possible.
- The Http2FrameWriter interface should be clarified to indicate that ByteBuf objects will be released.

Result:
Hopefully less allocation/copy leads to memory and throughput performance benefit.
2015-02-06 11:56:14 -08:00
..
main/java/io/netty/handler/codec/http2 Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00
test/java/io/netty/handler/codec/http2 Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00