RFR: 8306075: Micro-optimize Enum.hashCode [v2]

olivergillespie duke at openjdk.org
Mon Apr 17 13:30:33 UTC 2023


On Mon, 17 Apr 2023 13:26:49 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Why isn't `Enum::hashCode` simply doing `return ordinal;`?

See https://bugs.openjdk.org/browse/JDK-8050217

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

PR Comment: https://git.openjdk.org/jdk/pull/13491#issuecomment-1511350037


More information about the core-libs-dev mailing list