On Fri, 4 Oct 2024 09:34:54 GMT, fabioromano1 <d...@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:
> 
>   Avoid overflow of scale - preferredScale

@fabioromano1 I'll have a look once the commits settle down to something you 
consider stable for review.

Also, please add [JMH](https://github.com/openjdk/jmh) benchmark results with 
and without your changes. The benchmarks should target some public API point, 
like `stripTrailingZeros()`, not internal methods.

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

PR Comment: https://git.openjdk.org/jdk/pull/21323#issuecomment-2393596438

Reply via email to