Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2340

Use JDK compareTo and hashcode Methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: java
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                belugabehr David Mollitor
                Reporter:
                belugabehr David Mollitor
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: