netty5/buffer/src
Francesco Nigro 162e59848a
Improve predictability of writeUtf8/writeAscii performance (#10368)
Motivation:

writeUtf8 can suffer from inlining issues and/or megamorphic call-sites on the hot path due to ByteBuf hierarchy

Modifications:

Duplicate and specialize the code paths to reduce the need of polymorphic calls

Result:

Performance are more stable in user code
2020-09-09 16:10:26 +02:00
..
main Improve predictability of writeUtf8/writeAscii performance (#10368) 2020-09-09 16:10:26 +02:00
test/java/io/netty/buffer Improve predictability of writeUtf8/writeAscii performance (#10368) 2020-09-09 16:10:26 +02:00