RFR: 8365832: Optimize FloatingDecimal and DigitList with byte[] and cleanup

Shaojin Wen swen at openjdk.org
Wed Aug 20 11:22:40 UTC 2025


On Sat, 14 Jun 2025 04:58:29 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>>> @wenshao I'm working on a general overhaul of FloatingDecimal and related classes in some current and future PRs.
>>> 
>>> If you could restrict your changes to just DigitList, that would be less interference with my work.
>> 
>> @rgiulietti  Sorry, I was traveling last week and I just saw your comment now. This is a draft pull request, you can move on with your plans and ignore it.
>
>> @wenshao Curiously, there are now some people (you, @j3graham and myself) which are working on FloatingDecimal and related classes.
> 
> In PR #23310, @j3graham 's comment on January 25 mentioned FloatingDecimal, so I paid attention to this class

> @wenshao In the initial description, there's a mention to reuse `DecimalDigits` to reduce code. Is that still relevant? I'm asking because I don't see any usage of `DecimalDigits`.

Thanks @rgiulietti  for the reminder, the original description is outdated and has been updated.

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

PR Comment: https://git.openjdk.org/jdk/pull/23311#issuecomment-3205739968


More information about the core-libs-dev mailing list