[jboss-jira] [JBoss JIRA] Closed: (JBCOMMON-88) Cache the toString() representation of GUID

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Aug 20 17:54:23 EDT 2009


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

Brian Stansberry closed JBCOMMON-88.
------------------------------------

    Fix Version/s: 2.2.15.GA
       Resolution: Done


> Cache the toString() representation of GUID
> -------------------------------------------
>
>                 Key: JBCOMMON-88
>                 URL: https://jira.jboss.org/jira/browse/JBCOMMON-88
>             Project: JBoss Common
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: common-core (2.x)
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 2.2.15.GA
>
>
> The toString() operations on the GUID class is expensive and the result is immutable once the object is constructed. So cache the result in a transient field.

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