[
https://issues.apache.org/jira/browse/AVRO-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885505#comment-17885505
]
David Mollitor commented on AVRO-4060:
--------------------------------------
Note that in JDK 23, this can be updated to support vectorized implementation
for both "full array" and "offset" array use cases.
https://bugs.openjdk.org/browse/JDK-8311864
> Use JDK to Hash Byte Array in UTF8
> ----------------------------------
>
> Key: AVRO-4060
> URL: https://issues.apache.org/jira/browse/AVRO-4060
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.12.0
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Use the JDK's hash code generator in UTF8 class if possible.
> Starting with JDK 21, this method is vectorized and will boost performance.
> https://github.com/openjdk/jdk21/commit/e37078f5bb626c7ce0348a38bb86ca2ca62ba915
--
This message was sent by Atlassian Jira
(v8.20.10#820010)