On Fri, 23 Sep 2022 03:33:06 GMT, ScientificWare <d...@openjdk.org> wrote:
> With this change, the code is more concise but we double the number of tests ? For a rather rare case. I don't think it's a critical path which affects performance. If you like, you can create a variable to store the result of `n == 4` to avoid testing once again. I still don't think it's worth it. ------------- PR: https://git.openjdk.org/jdk/pull/10317