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