RFR: 8305811: (bf) Improve heap buffer performance of CharBuffer::append(CharSequence)
Alan Bateman
alanb at openjdk.org
Tue Apr 11 06:38:32 UTC 2023
On Tue, 11 Apr 2023 01:28:07 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Based on further measurements it is unclear whether this change has any significant benefit when the `CharSequence` is a `String` or a `StringBuffer`. Presumably this is due to some combination of caching, copying, and intrinsics. When the source is a `StringBuilder`, however, the performance improvement looks to be more that 300%.
Are you going to add a comment to the PR with the benchmarks/results?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13415#issuecomment-1502758769
More information about the nio-dev
mailing list