[
https://issues.apache.org/jira/browse/IO-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14087030#comment-14087030
]
BELUGA BEHR commented on IO-454:
--------------------------------
Sebb,
As I've learned from the Compress library, it's much faster to skip if you can.
I.e., for SSD, to skip from one place to another is instantaneous, just
updating a pointer really. That benefit quickly falls away if the library has
to make many block reads (read, copy, toss) to get to the same place.
> IOUtils.skipToEnd
> -----------------
>
> Key: IO-454
> URL: https://issues.apache.org/jira/browse/IO-454
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: BELUGA BEHR
> Priority: Minor
>
> Hello,
> I'd like to see an IOUtils method that calls skip (or skip/read) on a stream
> until it returns -1.
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.2#6252)