-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
b24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8225878 | 14 | Claes Redestad | P4 | Resolved | Fixed | team |
By specializing for String arguments so that they can use System.arraycopy directly when appropriate, provides a small speed-up in microbenchmarks.
An intrinsic for append(String, int, int) might still be outperforming this, but it'll be a non-trivial task to implement. The parent RFE is left open for such an investigation.
An intrinsic for append(String, int, int) might still be outperforming this, but it'll be a non-trivial task to implement. The parent RFE is left open for such an investigation.
- backported by
-
JDK-8225878 (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments
-
- Resolved
-
- relates to
-
JDK-8254082 AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end) is missing fast-path for String
-
- Resolved
-