OfBizUser should cache its hashcode to improve performance in large instances

XMLWordPrintable

    • 6

      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.

            Assignee:
            Oswaldo Hernandez (Inactive)
            Reporter:
            Trevor Campbell (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: