Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2274
@gemmellr You are right: indeed I'm thinking if it makes sense to close
this considering that it will cost some perf..
I'm not aware of the lifecycle of the netty buffer used: if it has been
sized with a precise size and won't be reused, it will cost the enlarging of it
( a copy that will cost the copy of the size of the data already encoded +
gerbage a new allocation) and it is not desiderable I think.
what do you suggest?
---