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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Fri Mar 22 08:30:41 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-2869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list