> 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/e2cbf4a0..19d6f04b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=20168&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20168&range=01-02 Stats: 10 lines in 1 file changed: 10 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