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

>> It was a suggestion, implicitly paired with removing ` + (year < 0 ? 1 : 0)` 
>> from line 2188.
>
> The reason for not using off++ is that it can be executed out of order, which 
> may result in better performance.

I don't think that would outweigh the extra branch and the increased code size. 
I'd opt for simplicity.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15658#discussion_r1323687644

Reply via email to