Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8217675 (str) optimize StringBuilder.append(CharSequence, start, end)
  3. JDK-8224986

(str) optimize StringBuilder.append(CharSequence, int, int) for String arguments

XMLWordPrintable

    • b24

        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.

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: