[ 
https://issues.apache.org/jira/browse/AVRO-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883650#comment-17883650
 ] 

ASF subversion and git services commented on AVRO-4049:
-------------------------------------------------------

Commit 9bff3c9e65720fbb3268d204c72dfb8c8a0c45b4 in avro's branch 
refs/heads/main from belugabehr
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=9bff3c9e6 ]

AVRO-4049: Use JDK Arrays equal to test if two UTF8 strings are equal (#3131)



> Use JDK Equals in UTF8
> ----------------------
>
>                 Key: AVRO-4049
>                 URL: https://issues.apache.org/jira/browse/AVRO-4049
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.13.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to