RFR: 8315585: Optimization for decimal to string
温绍锦
duke at openjdk.org
Mon Oct 9 00:39:26 UTC 2023
On Sun, 8 Oct 2023 15:30:00 GMT, Chen Liang <liach at openjdk.org> wrote:
> I think the String concat indy call site already generates code that computes the size of the char array to be allocated (remember the lengthCoder from String Concat). We can probably just use `highInt + '.' + StringBuilderHelper.DIGIT_TENS[lowInt] + StringBuilderHelper.DIGIT_ONES[lowInt]`.
The code of StringBuilderHelper is duplicated, I want to remove it
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16006#discussion_r1349804946
More information about the core-libs-dev
mailing list