You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/05/23 12:20:00 UTC
[jira] [Resolved] (LANG-1736) Pair.hashCode() leads to a lot of hash collisions
[ https://issues.apache.org/jira/browse/LANG-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved LANG-1736.
-----------------------------------
Resolution: Information Provided
> Pair.hashCode() leads to a lot of hash collisions
> -------------------------------------------------
>
> Key: LANG-1736
> URL: https://issues.apache.org/jira/browse/LANG-1736
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.tuple.*
> Affects Versions: 3.14.0
> Reporter: TobiasKiecker
> Priority: Trivial
> Attachments: Main.java
>
>
> The implementation of Pair.hashCode() has hash collisions for most java primitives with close values. This could affect the performance of maps with pairs as keys.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)