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

Optimize GridInputStream.skip()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 5.3.0.Alpha1, 5.3.0.Final
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            marko.luksa@gmail.com Marko Luksa (Inactive)
            marko.luksa@gmail.com Marko Luksa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: