String encodeUTF8 latin1 with negatives

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: core-libs
    • b12

      The performance of String.encodeUTF8 may be improved as suggested in this email to core-libs-dev.
      It proposed to copy the prefix known to be ascii from countPositives in bulk before entering the character at a time loop.

      https://mail.openjdk.org/pipermail/core-libs-dev/2025-July/149417.html

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: