RFR: 8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int]) [v6]
Alan Bateman
alanb at openjdk.org
Wed Apr 26 16:20:04 UTC 2023
On Wed, 26 Apr 2023 16:08:24 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Use `getChars()` to copy characters to an intermediate local `char[]` array and then `putArray()` to copy the chars into the buffer itself.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8306374: Do not generate appandChars() for read-only cases
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/13522#pullrequestreview-1402343736
More information about the nio-dev
mailing list