]
Galder Zamarreño resolved ISPN-2869.
------------------------------------
Fix Version/s: 5.3.0.Alpha1
5.3.0.Final
(was: 6.0.0.Final)
Resolution: Done
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
Fix For: 5.3.0.Alpha1, 5.3.0.Final
{{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: