Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/1753
@clebertsuconic @michaelandrepearce
I've improved the already existing perf tests and introduced an
optimization for the common path using Netty `PlatformDependent` to avoid
bounds checking: it speed up encoding/decoding by a great margin (` 40% on my
box).
The only thing I'm concerned is:
- do not add too much complexity
- hit the hot common case ( ie UTF encoding/decoding is actually used and
most of the `ByteBuf` instances are heap based ones)
---