RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v19]
Chen Liang
liach at openjdk.org
Sun Jun 25 10:56:09 UTC 2023
On Sun, 25 Jun 2023 10:00:23 GMT, 温绍锦 <duke at openjdk.org> wrote:
>> @wenshao The patch has changed 19 times in the last 3 days, is it ready for review now?
>
> @AlanBateman
>
> i found an implementation with minor changes, but slower when COMPACT_STRINGS is false.
>
> https://github.com/wenshao/jdk/commit/4a3da4b20fe0f7244c2c7bde3d9a0e2c8b91455a
>
> do you suggest using a new implementation? if yes, i commit new changes.
@wenshao I don't think this is feasible, for this uses a new feature and hampers backport to jdk11. I suggest adding such a cache array in jdk.internal packages that digits class can use as well
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14578#issuecomment-1606024491
More information about the core-libs-dev
mailing list