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

Optimize CompositeReadableBuffer::hashCode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • proton-j-0.31.0
    • proton-j-0.32.0
    • proton-j
    • 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

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: