RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v34]

Alan Bateman alanb at openjdk.org
Thu Jun 29 13:49:25 UTC 2023


On Thu, 29 Jun 2023 13:26:18 GMT, 温绍锦 <duke at openjdk.org> wrote:

>> 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 two additional commits since the last revision:
> 
>  - fix comments typo
>  - Update full name

@DamonFool  In the future, please wait at least 24 hours before sponsoring changes like this. There have been 33 revisions of this change, many of the people that have commented, potential reviewers are in many time zones and need to have time to see a chance to look at changes before they are integrated.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14578#issuecomment-1613211409


More information about the core-libs-dev mailing list