<i18n dev> RFR: 8317980: Optimization for Integer.parseInt and Long.parseLong [v4]
Shaojin Wen
duke at openjdk.org
Tue Jul 23 02:48:56 UTC 2024
> Currently, about 25% of the time spent by the Integer.parseInt and Long.parseLong methods is spent on the Character.digit method.
>
> The Character.digit method is common to all radixes. We can use a digit method optimized for Latin1 encoding radix 10 to improve the performance of Integer.parseInt and Long.parseLong methods.
Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
add description for DECIMAL_DIGITS
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20168/files
- new: https://git.openjdk.org/jdk/pull/20168/files/19d6f04b..73d5e6a0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20168&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20168&range=02-03
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/20168.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20168/head:pull/20168
PR: https://git.openjdk.org/jdk/pull/20168
More information about the i18n-dev
mailing list