RFR: 8284638: store skip buffers in InputStream Object [v6]
liach
duke at openjdk.java.net
Thu Apr 14 22:17:52 UTC 2022
On Thu, 14 Apr 2022 18:52:25 GMT, XenoAmess <duke at openjdk.java.net> wrote:
>> @jmehrens what about this then?
>> I think it safe now(actually this mechanism is learned from Reader)
>
> XenoAmess has updated the pull request incrementally with one additional commit since the last revision:
>
> refine jmh
Now this makes sense, that with a skip buffer of 2048, skipping by 2048 has a similar performance as skipping by 8192 for field-backed ones.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5872
More information about the core-libs-dev
mailing list