GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1478
ARTEMIS-1357 TypedProperties encode/decode improvement
Several improvements are made on the encode/decode paths:
- fixed load factor on properties to avoid resizing/rehashing and reduce GC
pressure
- cached BooleanValue/NullValue instances to reduce GC pressure
- used internal iteration throught lamda while encoding properties to
reduce GC pressure and allows loop unrolling
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis
improve_typed_properties_decode
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1478.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1478
----
commit 5c386a857206c3bf3b19909c33f9c670ec7ded80
Author: Francesco Nigro <[email protected]>
Date: 2017-08-21T14:29:22Z
ARTEMIS-1357 TypedProperties encode/decode improvement
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---