(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.

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

                Created:
                Updated:
                Resolved: