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

Use JDK compareTo and hashcode Methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.9.0
    • java
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: