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

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


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

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

    Git Pull Request: https://github.com/infinispan/infinispan/pull/1688

    
> 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