RFR: 8315585: Optimization for decimal to string [v7]

Shaojin Wen duke at openjdk.org
Mon Oct 16 15:00:42 UTC 2023


> I submitted PR #15555 before, and there were too many changes. I split it into multiple PRs with small changes. This one is one of them.
> 
> this PR removed the duplicate code for getChars in BigDecimal#StringBuilderHelper, i also make performance faster.
> Please review and don't hesitate to critique my approach and patch.

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  Use StringConcatFactory.makeConcatWithConstants

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16006/files
  - new: https://git.openjdk.org/jdk/pull/16006/files/88b1b13c..013ceffb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16006&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16006&range=05-06

  Stats: 47 lines in 1 file changed: 42 ins; 3 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16006.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16006/head:pull/16006

PR: https://git.openjdk.org/jdk/pull/16006


More information about the core-libs-dev mailing list