Optimize Character.toString

XMLWordPrintable

    • b17

        Sergey Tsypanov writes:

        "I think we can reduce allocation rate for j.l.Character.toString() by calling String.valueOf(char) instead of String.valueOf(char[]).

        Current implementation creates char[] with one char which is later decoded into byte[]."

        https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-March/065433.html

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

                Created:
                Updated:
                Resolved: