You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2017/05/05 11:00:10 UTC
[jira] [Commented] (FLINK-6375) Fix LongValue hashCode
[ https://issues.apache.org/jira/browse/FLINK-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998151#comment-15998151 ]
Greg Hogan commented on FLINK-6375:
-----------------------------------
[~apsaltis] appreciate your looking into this but it's filed as an API-breaking "2.0" change which will need to be first discussed and deliberated in the indefinite future.
> Fix LongValue hashCode
> ----------------------
>
> Key: FLINK-6375
> URL: https://issues.apache.org/jira/browse/FLINK-6375
> Project: Flink
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0
> Reporter: Greg Hogan
> Assignee: Andrew Psaltis
> Priority: Trivial
>
> Match {{LongValue.hashCode}} to {{Long.hashCode}} (and the other numeric types) by simply adding the high and low words rather than shifting the hash by adding 43.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)