netty5/codec
Norman Maurer 0ea796ad55 [#2525] Use VoidChannelPromise in MessageToMessageEncoder when possible
Motivation:
At the moment MessageToMessageEncoder uses ctx.write(msg) when have more then one message was produced. This may produce more GC pressure then necessary as when the original ChannelPromise is a VoidChannelPromise we can safely also use one when write messages.

Modifications:
Use VoidChannelPromise when the original ChannelPromise was of this type

Result:
Less object creation and GC pressure
2014-06-01 19:26:09 +02:00
..
src [#2525] Use VoidChannelPromise in MessageToMessageEncoder when possible 2014-06-01 19:26:09 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2014-04-30 15:40:54 +02:00