[infinispan-issues] [JBoss JIRA] (ISPN-2869) Optimize GridInputStream.skip()

Marko Lukša (JIRA) jira-events at lists.jboss.org
Wed Feb 27 10:08:57 EST 2013


Marko Lukša created ISPN-2869:
---------------------------------

             Summary: Optimize GridInputStream.skip()
                 Key: ISPN-2869
                 URL: https://issues.jboss.org/browse/ISPN-2869
             Project: Infinispan
          Issue Type: Enhancement
            Reporter: Marko Lukša
            Assignee: Marko Lukša


{{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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list