You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2014/02/28 15:25:19 UTC
[jira] [Resolved] (ACE-463) RepositoryObjectImpl optimalisation
[ https://issues.apache.org/jira/browse/ACE-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
J.W. Janssen resolved ACE-463.
------------------------------
Resolution: Fixed
Unique set of keys are now cached, new performance measurements show this is no longer a hot spot.
> RepositoryObjectImpl optimalisation
> -----------------------------------
>
> Key: ACE-463
> URL: https://issues.apache.org/jira/browse/ACE-463
> Project: ACE
> Issue Type: Improvement
> Reporter: J.W. Janssen
> Assignee: J.W. Janssen
>
> During some profiling sessions, it appears that the keys() method of RepositoryObjectImpl is called quite often and recreates a new HashSet upon each call. This is not really necessary, as we have full control of the attributes and keys objects used in this method.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)