Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2449
I will provide soon some number to justify these changes from the perf pov:
from code quality pov it is a refactoring to make the code simpler to read in
methods that are supposed to be called very often.
The 2 commits are be left there just to simplify the code review: I will
squash them into one if it will be approved.
@michaelandrepearce @clebertsuconic Feel free to review it :+1: ---
