Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/1777
These are the flamegraph of a couple of profiled tests, one on master:

Where the violet bars are the `AddressInfo::new` and the
`AddressInfo::getRoutingType` (+ iterator) while with this PR:

There isn't anymore any cost associated with `AddressInfo`: for me is a
thumbs up!
Althouh it seems negligible (at a first look) the impact of this change has
changed the garbage produced and the CPU time required to call `doSend`: indeed
the latencies are better too.
Well done :100:
---