[
https://issues.apache.org/jira/browse/AVRO-4045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884437#comment-17884437
]
ASF subversion and git services commented on AVRO-4045:
-------------------------------------------------------
Commit 005ee8069dd69169e5c1842f0849d90373910b18 in avro's branch
refs/heads/main from belugabehr
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=005ee8069 ]
AVRO-4045: Use JDK compare for byte arrays (#3126)
> Use JDK to Compare Byte Array Lexicographically
> ------------------------------------------------
>
> Key: AVRO-4045
> URL: https://issues.apache.org/jira/browse/AVRO-4045
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.11.3
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The JDK introduced a new compare function for byte arrays in JDK9.
> Leverage this vectorized and "IntrinsicCandidate" (via ArraysSupport.java)
> implementation for Avro.
> [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Arrays.html#compare(byte%5B%5D,int,int,byte%5B%5D,int,int)]
> https://github.com/openjdk/jdk17/blob/4afbcaf55383ec2f5da53282a1547bac3d099e9d/src/java.base/share/classes/java/util/Arrays.java#L5804
--
This message was sent by Atlassian Jira
(v8.20.10#820010)