ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACE-463) RepositoryObjectImpl optimalisation
Date Fri, 28 Feb 2014 14:25:19 GMT

     [ 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)

Mime
View raw message