Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13575

Reduce array copy for marshalling when using Infinispan ByteBuffer

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 14.0.0.Dev01
    • 13.0.0.Final
    • Core
    • None

    Description

      Many places in marshalling we make a copy of a byte[] and trim it when using a org.infinispan.commons.io.ByteBuffer which is unneeded. The ByteBuffer class allows for a offset and length parameter which should be used instead to avoid additional copies.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: