On Wed, 4 Jun 2025 18:18:39 GMT, Johannes Graham <d...@openjdk.org> wrote:
> This PR replaces construction of intermediate strings to be parsed with more > direct manipulation of numbers. It also has a more streamlined mechanism of > handling `Long.MIN_VALUE` when parsing longs by using `Long.parseUnsignedLong` > > As a small side-effect it also eliminates the use of a cached StringBuilder > in DigitList. > > Testing: > - GHA > - Local run of tier 2 and jtreg:jdk/java/text > - New benchmark: DecimalFormatParseBench This pull request has now been integrated. Changeset: d1944239 Author: Johannes Graham <j3gra...@gmail.com> Committer: Raffaello Giulietti <rgiulie...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/d19442399c004c78bff8a5ccf7c6975c7e583a07 Stats: 184 lines in 4 files changed: 126 ins; 48 del; 10 mod 8358880: Performance of parsing with DecimalFormat can be improved Reviewed-by: jlu, liach, rgiulietti ------------- PR: https://git.openjdk.org/jdk/pull/25644