You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (JIRA)" <ji...@apache.org> on 2017/08/21 15:35:00 UTC
[jira] [Created] (ARTEMIS-1357) TypedProperties encode/decode
improvement
Francesco Nigro created ARTEMIS-1357:
----------------------------------------
Summary: TypedProperties encode/decode improvement
Key: ARTEMIS-1357
URL: https://issues.apache.org/jira/browse/ARTEMIS-1357
Project: ActiveMQ Artemis
Issue Type: Improvement
Reporter: Francesco Nigro
Assignee: Francesco Nigro
In the TypedProperties decode path are possible several improvements:
* avoid resizing (with rehashing) of the properties map
* avoid any allocation of BooleanValue and NullValue
In the TypedProperties encode path is possible to use internal looping using Java 8 lambdas:
* to avoid the allocation of the Entries collection + iterator
* to increase the chance of loop unrolling during the iteration
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)