RFR: 8300979: Lazily initialize (byte, char)arr in java.io.DataInputStream
Sergey Tsypanov
stsypanov at openjdk.org
Tue Mar 21 20:38:40 UTC 2023
On Tue, 21 Mar 2023 15:41:13 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposed to lazily initialize the scratch arrays only if/when needed.
Nice idea. Just wonder could we do the same for `BufferedInputStream`?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13121#issuecomment-1478546070
More information about the core-libs-dev
mailing list