RFR: 8205592: BigDecimal.doubleValue() is depressingly slow

Julian Waters jwaters at openjdk.org
Thu Jul 21 02:14:07 UTC 2022


On Thu, 7 Jul 2022 15:20:32 GMT, Raffaello Giulietti <duke at openjdk.org> wrote:

> A reimplementation of `BigDecimal.[double|float]Value()` to enhance performance, avoiding an intermediate string and its subsequent parsing on the slow path.

Impressive performance improvements, I also like the PR title :P

-------------

PR: https://git.openjdk.org/jdk/pull/9410


More information about the core-libs-dev mailing list