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

Use JDK Equals in UTF8

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.13.0
    • None
    • java

    Description

      Starting in JDK9, the JDK provides a vectorized ways to test if two specified arrays of bytes, over the specified ranges, are equal to one another. This uses some nice vectorization and in-line methods under the covers.

      https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Arrays.html#equals(byte%5B%5D,int,int,byte%5B%5D,int,int)

       

      Use this when determining if two UTF8 Strings are equal.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m