On Wed, 14 May 2025 14:39:37 GMT, Johannes Graham <d...@openjdk.org> wrote:
>> Optimize `BigDecimal.valueOf(double)` by using `FormattedFPDecimal` instead >> of converting to decimal string and then parsing it. This results in an >> approximate 6x improvement for me. > > Johannes Graham has updated the pull request incrementally with three > additional commits since the last revision: > > - Update > src/java.base/share/classes/jdk/internal/math/FormattedFPDecimal.java > > Align better with spec > > Co-authored-by: Raffaello Giulietti <raffaello.giulie...@oracle.com> > - Update > src/java.base/share/classes/jdk/internal/math/FormattedFPDecimal.java > > Better alignment with spec > > Co-authored-by: Raffaello Giulietti <raffaello.giulie...@oracle.com> > - Update > src/java.base/share/classes/jdk/internal/math/FormattedFPDecimal.java > > Add another final > > Co-authored-by: Raffaello Giulietti <raffaello.giulie...@oracle.com> @j3graham Your change (at version 0cc32fc02afc461ae3a161011e32c339b4e44241) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25173#issuecomment-2884411223