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

      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.

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

                Created:
                Updated:
                Resolved: