Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6891

Memoize the result of ByteString.hashCode()

    Details

    • Type: Task
    • Status: Done
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.0
    • Fix Version/s: Not applicable
    • Component/s: core apis
    • Labels:
      None

      Description

      flamegraphs regularly show that ByteString.hashCode() is responsible for a few percents of test runs.
      Getting rid of this would improve performance a bit as long as it does not translate in a memory increase.

      Acceptance criteria

      This issue can be closed once it's been determined whether memoizing ByteString.hashCode() is worth it.
      If it is worth it, then it needs to be implemented as part of this issue.

        Attachments

          Activity

            People

            • Assignee:
              JnRouvignac Jean-Noël Rouvignac
              Reporter:
              JnRouvignac Jean-Noël Rouvignac
              Dev Assignee:
              Jean-Noël Rouvignac
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: