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.
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.
- links to
-
Review(master) openjdk/jdk/27811