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

Optimize GridInputStream.skip()

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.Final
    • None
    • None
    • None

      GridInputStream.skip() is currently very inefficient, especially when skipping past the currently loaded chunk.

      The method also has a small border-case bug: when the parameter is negative, the method should not skip any bytes, but it actually skips/reads all the remaining bytes of the stream.

              marko.luksa@gmail.com Marko Luksa (Inactive)
              marko.luksa@gmail.com Marko Luksa (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: