netty5/transport-sctp/src/main
feijermu 914b433a8d
Replace the type of fragments field with IntObjectMap in SctpMessageCompletionHandler (#10057)
Motivation:

The type IntObjectMap with the key of primitive int can help lower the cost of boxing and unboxing,  and improve performance. I think it's more suitable for fragments field in SctpMessageCompletionHandler.java.

Modification:

Just replace the type of fragments field with IntObjectMap.

Result:
Improve performance slightly while decoding sctp message.
2020-02-24 19:57:55 +01:00
..
java Replace the type of fragments field with IntObjectMap in SctpMessageCompletionHandler (#10057) 2020-02-24 19:57:55 +01:00
test/io/netty SctpMessageCompletionHandler may leak ByteBuf for fragmented messages. (#7832) 2018-04-02 21:37:03 +02:00