RFR: 8358533: Improve performance of java.io.Reader.readAllLines [v11]
Roger Riggs
rriggs at openjdk.org
Thu Jul 3 13:43:44 UTC 2025
On Wed, 2 Jul 2025 21:37:00 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Replaces the implementation `readAllCharsAsString().lines().toList()` with reading into a temporary `char` array which is then processed to detect line terminators and copy non-terminating characters into strings which are added to the list.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8358533: Decrease value of minGrowth parameter
Look good. Thanks
Another review would be good too.
-------------
Marked as reviewed by rriggs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25863#pullrequestreview-2983245903
PR Comment: https://git.openjdk.org/jdk/pull/25863#issuecomment-3032324398
More information about the core-libs-dev
mailing list