RFR: 8334328: Reduce object allocation for FloatToDecimal and DoubleToDecimal [v18]
Shaojin Wen
duke at openjdk.org
Wed Jun 26 14:20:13 UTC 2024
On Wed, 26 Jun 2024 14:00:36 GMT, Claes Redestad <redestad at openjdk.org> wrote:
>> I have written a version using boolean locally, but because this class is mainly used by String and StringBuilder, it uses the same style as String/StringBuilder.
>
> Yeah, I'm just musing about the perils of leaking/replicating those implementation details, but as you say this is internal code only used by `String` and `StringBuilder` to it's loosely part of that complex. Not requesting any changes here for now..
I looked at it again and I think @cl4es 's suggestion is correct. Can I submit the change? @rgiulietti
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19730#discussion_r1654964989
More information about the core-libs-dev
mailing list