[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1322) Optimise Fqn class for performance in equals() and hashcode()

Manik Surtani (JIRA) jira-events at lists.jboss.org
Fri Aug 1 06:12:26 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBCACHE-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani resolved JBCACHE-1322.
------------------------------------

    Fix Version/s: 3.0.0.ALPHA2
                       (was: 3.0.0.GA)
       Resolution: Done


> Optimise Fqn class for performance in equals() and hashcode()
> -------------------------------------------------------------
>
>                 Key: JBCACHE-1322
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1322
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Manik Surtani
>            Assignee: Manik Surtani
>             Fix For: 3.0.0.ALPHA2
>
>
> A part of this will be to mark all constructors as @Deprecated and make them all private (or protected?) in 3.0.0.  Provide adequate factory methods that would create Fqns.  
> The main benefit is that we can intern Fqns and not have to construct them each time.
> Other improvements are a link to the parent and the current "name", rather than the whole list of elements.  Hashcodes and equals can be calculated quickly this way, and caching hashcodes/equality tests based on identity become a possibility.
> Other suggestions in design forum thread.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list