openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2348) Cache calculated hashCode in OpenJPAId
Date Thu, 07 Mar 2013 15:50:12 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595981#comment-13595981
] 

Rick Curtis commented on OPENJPA-2348:
--------------------------------------

After further analysis, this change provided little, to no benefit so I'm going to revert
the previous commit.
                
> Cache calculated hashCode in OpenJPAId
> --------------------------------------
>
>                 Key: OPENJPA-2348
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2348
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: kernel
>    Affects Versions: 2.3.0, 2.2.2
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>            Priority: Minor
>             Fix For: 2.3.0, 2.2.2
>
>
> Under many use cases we will calculate and then re-calculate the hashCode value for OpenJPAIds
and we could save some processing by caching this value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message