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

Refactor Double.toHexString to eliminate regex and StringBuilder

XMLWordPrintable

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

      Refactors the Double.toHexString method to improve its performance by eliminating the use of StringBuilder and regex operations.

      The new implementation uses a direct byte array approach to construct the hex string representation, which avoids the overhead of StringBuilder operations and regex pattern matching.

            Unassigned Unassigned
            swen Shaojin Wen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: