[
https://issues.apache.org/jira/browse/HADOOP-19810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057253#comment-18057253
]
ASF GitHub Bot commented on HADOOP-19810:
-----------------------------------------
pan3793 commented on PR #8239:
URL: https://github.com/apache/hadoop/pull/8239#issuecomment-3869547785
@aajisaka, I updated the benchmark result - on Linux, the result matches
Guava's statement, the JDK impl is a little slower for 128 bytes, but faster
for larger bytes.
Note: I'm using a quite old Intel CPU, given `Arrays.compareUnsigned` can
leverage SIMD in modern JDKs, results might be different on different CPUs.
> Replace FastByteComparisons with JDK Arrays.compareUnsigned
> -----------------------------------------------------------
>
> Key: HADOOP-19810
> URL: https://issues.apache.org/jira/browse/HADOOP-19810
> Project: Hadoop Common
> Issue Type: Improvement
> Components: common
> Reporter: Cheng Pan
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]