Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-38145

OfBizUser should cache its hashcode to improve performance in large instances

    XMLWordPrintable

Details

    Description

      When building sets of users, OfBizUser repeatedly caclulates its hashcode. To be correct and compatible with the equals impementation, it needs to convert the user name to lower case in a locale sensitive way, which is expensive.

      As the OfBbizUser object is immutable this value can be retained once caclultated.

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              tcampbell Trevor Campbell (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: