RFR: 8305811: (bf) Improve heap buffer performance of CharBuffer::append(CharSequence)

Brian Burkhalter bpb at openjdk.org
Tue Apr 11 19:36:34 UTC 2023


On Tue, 11 Apr 2023 19:14:49 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> If the parameter is another CB backed by a char[] then it could be optimised to a System.arraycopy.

Agreed, I had thought the same myself.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13415#issuecomment-1503984724


More information about the nio-dev mailing list