Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 39ABCEBAF for ; Thu, 7 Mar 2013 15:50:22 +0000 (UTC) Received: (qmail 30529 invoked by uid 500); 7 Mar 2013 15:50:22 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 27904 invoked by uid 500); 7 Mar 2013 15:50:15 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 27445 invoked by uid 99); 7 Mar 2013 15:50:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 15:50:12 +0000 Date: Thu, 7 Mar 2013 15:50:12 +0000 (UTC) From: "Rick Curtis (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OPENJPA-2348) Cache calculated hashCode in OpenJPAId MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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