RFR: 8341470: BigDecimal.stripTrailingZeros() optimization [v48]

Raffaello Giulietti rgiulietti at openjdk.org
Mon Oct 21 09:53:57 UTC 2024


On Fri, 18 Oct 2024 08:36:30 GMT, fabioromano1 <duke at openjdk.org> wrote:

>> An optimized algorithm for `BigDecimal.stripTrailingZeros()` that uses repeated squares trick.
>
> fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Refine comments to point out the substructure of the method's contract better

Looks good.
Thanks

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

Marked as reviewed by rgiulietti (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21323#pullrequestreview-2381509381


More information about the core-libs-dev mailing list