On Wed, 6 Nov 2024 17:35:36 GMT, Chen Liang <li...@openjdk.org> wrote:
> Note that Arrays.equals is subject to profile pollution at runtime, so the > benchmark results might not be applicable in practice. Good point, thank you. Should I stick with `Arrays.equals()` on the basis that it's more intuitive, and the perf data is uncertain? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21929#discussion_r1831468108