Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8364320

String encodeUTF8 latin1 with negatives

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • core-libs
    • None

      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

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: