RFR: 8310502 : optimization for UUID#toString [v3]
温绍锦
duke at openjdk.org
Wed Jun 21 11:06:08 UTC 2023
> By optimizing the implementation of java.lang.Long#fastUUID, the performance of the java.util.UUID#toString method can be significantly improved.
>
> The following are the test results of JMH:
>
> Benchmark Mode Cnt Score Error Units
> UUIDUtilsBenchmark.new thrpt 5 92676.550 ± 292.213 ops/ms
> UUIDUtilsBenchmark.original thrpt 5 37040.165 ± 1023.532 ops/ms
温绍锦 has updated the pull request incrementally with one additional commit since the last revision:
8310502 : hex literal
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14578/files
- new: https://git.openjdk.org/jdk/pull/14578/files/35af153a..8bc49c9e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14578&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14578&range=01-02
Stats: 47 lines in 1 file changed: 0 ins; 0 del; 47 mod
Patch: https://git.openjdk.org/jdk/pull/14578.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14578/head:pull/14578
PR: https://git.openjdk.org/jdk/pull/14578
More information about the core-libs-dev
mailing list