On Mon, 11 Sep 2023 16:36:55 GMT, 温绍锦 <d...@openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/util/DecimalDigits.java line 143:
>> 
>>> 141:      * code after loop unrolling.
>>> 142:      */
>>> 143:     public static int stringSize(int x) {
>> 
>> I suggest splitting the moves of `stringSize` `getChars` into a new PR 
>> dependent on this one; your future date and time optimizations can depend on 
>> that one, which exposes stringSize.
>> 
>> Having the DecimalDigits package move and `stringSize` `getChars` moves 
>> together complicates the file changes, and it's hard to detect if there's 
>> any accidental typo/malicious code in the new additions.
>
> If this PR is split into two PRs, the other two PRs I submitted #15658 #15555 
> cannot be based on this PR.

I agree, do the package move separate from the refactoring. 
The other PRs can wait a bit or be committed as is and take part in the 
refactoring later. 
One step at a time please.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15651#discussion_r1321957533

Reply via email to