OpenJPA
  1. OpenJPA
  2. OPENJPA-2348

Cache calculated hashCode in OpenJPAId

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 2.2.2, 2.3.0
    • Fix Version/s: 2.2.2, 2.3.0
    • Component/s: kernel
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1452884 from curtisr7
        [ https://svn.apache.org/r1452884 ]

        OPENJPA-2348: Cache calculated hashcode in OpenJPAId.

        Show
        ASF subversion and git services added a comment - Commit 1452884 from curtisr7 [ https://svn.apache.org/r1452884 ] OPENJPA-2348 : Cache calculated hashcode in OpenJPAId.
        Hide
        Rick Curtis added a comment -

        After further analysis, this change provided little, to no benefit so I'm going to revert the previous commit.

        Show
        Rick Curtis added a comment - After further analysis, this change provided little, to no benefit so I'm going to revert the previous commit.
        Hide
        ASF subversion and git services added a comment -

        Commit 1453928 from curtisr7
        [ https://svn.apache.org/r1453928 ]

        OPENJPA-2348: Revert prior commit.

        Show
        ASF subversion and git services added a comment - Commit 1453928 from curtisr7 [ https://svn.apache.org/r1453928 ] OPENJPA-2348 : Revert prior commit.

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development