RFR: 8311207: Cleanup for Optimization for UUID.toString [v6]
温绍锦
duke at openjdk.org
Tue Sep 5 01:49:35 UTC 2023
On Sat, 8 Jul 2023 07:14:12 GMT, 温绍锦 <duke at openjdk.org> wrote:
>> src/java.base/share/classes/java/util/HexDigits.java line 44:
>>
>>> 42: * 0 -> '00' -> ('0' << 8) | '0' -> 0x3030
>>> 43: * 1 -> '01' -> ('0' << 8) | '1' -> 0x3130
>>> 44: * 2 -> '02' -> ('0' << 8) | '2' -> 0x3230
>>
>> The description of the array content does not need to be exhaustive; just sufficient to understand how it is indexed and the meaning of the values.
>
> The comment is already there, I think the value on the right is easier to understand in hexadecimal
comment has been removed
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14745#discussion_r1315275178
More information about the core-libs-dev
mailing list