You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2019/10/18 12:55:00 UTC
[jira] [Created] (ARROW-6935) [Java] Improve the performance of
comparing two blocks of heap data
Liya Fan created ARROW-6935:
-------------------------------
Summary: [Java] Improve the performance of comparing two blocks of heap data
Key: ARROW-6935
URL: https://issues.apache.org/jira/browse/ARROW-6935
Project: Apache Arrow
Issue Type: Improvement
Components: Java
Reporter: Liya Fan
Assignee: Liya Fan
Implement methods to compare data word by word, instead of byte by byte.
Benchmarks shows that there is a 4.5x performance improvement:
ByteFunctionHelpersBenchmarks.builtInByteArrayEquals avgt 5 437.504 ± 1.120 ns/op
ByteFunctionHelpersBenchmarks.byteArrayEquals avgt 5 97.700 ± 0.178 ns/op
--
This message was sent by Atlassian Jira
(v8.3.4#803005)