Integrated: 8361209: (bf) Use CharSequence::getChars for StringCharBuffer bulk get methods
Brian Burkhalter
bpb at openjdk.org
Tue Aug 12 17:42:24 UTC 2025
On Thu, 10 Jul 2025 20:27:52 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.
This pull request has now been integrated.
Changeset: d0239826
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d023982600f8bb19053f579710953aa29e0f30c5
Stats: 102 lines in 3 files changed: 93 ins; 0 del; 9 mod
8361209: (bf) Use CharSequence::getChars for StringCharBuffer bulk get methods
Reviewed-by: rriggs, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/26251
More information about the nio-dev
mailing list