Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1980

Optimize CompositeReadableBuffer::hashCode

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: proton-j-0.31.0
    • Fix Version/s: proton-j-0.32.0
    • Component/s: proton-j
    • Labels:
      None

      Description

      Optimize the hashCode operation to better deal with spans that are within a single array when the buffer contains more than one.

      Optimize the multi array hashCode operation to traverse the arrays as a single operation instead of traversing the arrays using a series of indexed get calls.

        Attachments

          Activity

            People

            • Assignee:
              tabish Timothy Bish
              Reporter:
              tabish Timothy Bish
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: