RFR: 8361209: (bf) Use CharSequence::getChars for StringCharBuffer bulk get methods [v5]
Brett Okken
duke at openjdk.org
Thu Jul 17 00:43:49 UTC 2025
On Wed, 16 Jul 2025 23:23:30 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> For `CharBuffer`s created from a `CharSequence`, use `CharSequence.getChars` to perform bulk gets instead of successively copying single characters.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8361209: Fix assertion added in previous commit
I am not an official reviewer, but LGTM
-------------
Marked as reviewed by bokken at github.com (no known OpenJDK username).
PR Review: https://git.openjdk.org/jdk/pull/26251#pullrequestreview-3027345015
More information about the nio-dev
mailing list