Integrated: 8341470: BigDecimal.stripTrailingZeros() optimization
fabioromano1
duke at openjdk.org
Mon Oct 21 10:18:38 UTC 2024
On Thu, 3 Oct 2024 12:29:44 GMT, fabioromano1 <duke at openjdk.org> wrote:
> An optimized algorithm for `BigDecimal.stripTrailingZeros()` that uses repeated squares trick.
This pull request has now been integrated.
Changeset: 27ef6c9d
Author: fabioromano1 <51378941+fabioromano1 at users.noreply.github.com>
Committer: Raffaello Giulietti <rgiulietti at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/27ef6c9df47326508ee9b2b29f2ff4cec6e38377
Stats: 223 lines in 3 files changed: 191 ins; 9 del; 23 mod
8341470: BigDecimal.stripTrailingZeros() optimization
Reviewed-by: rgiulietti
-------------
PR: https://git.openjdk.org/jdk/pull/21323
More information about the core-libs-dev
mailing list