RFR: 8341470: BigDecimal.stripTrailingZeros() optimization [v18]
fabioromano1
duke at openjdk.org
Fri Oct 4 14:12:16 UTC 2024
> An optimized algorithm for `BigDecimal.stripTrailingZeros()` that uses repeated squares trick.
fabioromano1 has updated the pull request incrementally with two additional commits since the last revision:
- Merge branch 'patchStripTrailingZeros' of https://github.com/fabioromano1/jdk into patchStripTrailingZeros
- Added benchmark tests
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21323/files
- new: https://git.openjdk.org/jdk/pull/21323/files/fd91e7b5..305c3f5e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21323&range=17
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21323&range=16-17
Stats: 96 lines in 1 file changed: 96 ins; 0 del; 0 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