RFR: 8348870: Eliminate array bound checks in DecimalDigits
Chen Liang
liach at openjdk.org
Tue Jan 28 16:03:46 UTC 2025
On Tue, 28 Jan 2025 14:49:45 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> Expand DIGITS length to 128 and eliminate array bounds checking by using & 0x7F when accessing DIGITS
Simple optimization, unfortunately this is a nice feature of the JVM not properly exposed in the language or libraries.
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23335#pullrequestreview-2578731387
More information about the core-libs-dev
mailing list