You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/11 19:13:00 UTC
[jira] [Commented] (AVRO-2340) Use JDK compareTo and hashcode
Methods
[ https://issues.apache.org/jira/browse/AVRO-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789881#comment-16789881 ]
ASF subversion and git services commented on AVRO-2340:
-------------------------------------------------------
Commit ef8349ffd6da5c6f4693ac46548c96e22eeb7cd7 in avro's branch refs/heads/master from Beluga Behr
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=ef8349f ]
AVRO-2340: Use JDK compareTo and hashcode Methods
> Use JDK compareTo and hashcode Methods
> --------------------------------------
>
> Key: AVRO-2340
> URL: https://issues.apache.org/jira/browse/AVRO-2340
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
>
> There are a few different ways that {{hashCode()}} and {{compare}} are implemented. Just use the JDK methods.
> I set a breakpoint and ran the 'perf' program, but it did not hit, so these methods are not on the critical paths. Best to do this work in a consistent behavior.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)