RFR: 8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int]) [v4]

Brian Burkhalter bpb at openjdk.org
Wed Apr 19 21:59:26 UTC 2023


> 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: Replace checkFromIndexSize() with checkFromToIndex()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13522/files
  - new: https://git.openjdk.org/jdk/pull/13522/files/52c94582..6455212f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13522&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13522&range=02-03

  Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13522.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13522/head:pull/13522

PR: https://git.openjdk.org/jdk/pull/13522


More information about the nio-dev mailing list