[
https://issues.apache.org/jira/browse/LANG-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848663#comment-17848663
]
Gary D. Gregory commented on LANG-1736:
---------------------------------------
So... exactly like {{HashMap}} and {{ConcurrentHashMap}} which we comment in
the code as following.
> 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)