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)

Reply via email to