You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "David Mollitor (JIRA)" <ji...@apache.org> on 2019/03/07 16:22:00 UTC

[jira] [Created] (AVRO-2340) Use JDK compareTo and hashcode Methods

David Mollitor created AVRO-2340:
------------------------------------

             Summary: 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


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)