RFR: 8341470: BigDecimal.stripTrailingZeros() optimization [v3]
fabioromano1
duke at openjdk.org
Thu Oct 3 13:18:09 UTC 2024
> 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:
Removed superfluous conditions
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21323/files
- new: https://git.openjdk.org/jdk/pull/21323/files/0818c263..bdad3faf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21323&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21323&range=01-02
Stats: 11 lines in 1 file changed: 0 ins; 2 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/21323.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21323/head:pull/21323
PR: https://git.openjdk.org/jdk/pull/21323
More information about the core-libs-dev
mailing list