RFR: 8348870: Optimization for DecimalDigits

2025-01-28 Thread Shaojin Wen
Expand DIGITS length to 128 and eliminate array bounds checking by using & 0x7F when accessing DIGITS - Commit messages: - & 0x7f Changes: https://git.openjdk.org/jdk/pull/23335/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23335&range=00 Issue: https://bugs.openjdk.or

Re: RFR: 8348870: Optimization for DecimalDigits

2025-01-28 Thread Shaojin Wen
On Tue, 28 Jan 2025 14:49:45 GMT, Shaojin Wen wrote: > Expand DIGITS length to 128 and eliminate array bounds checking by using & > 0x7F when accessing DIGITS This minor change achieves a ~3-5% performance improvement on MacBook M1 Pro. ## 1. Script git remote add wenshao g...@github.com:wen