You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2019/11/04 08:44:00 UTC

[jira] [Closed] (ARROW-6935) [Java] Improve the performance of comparing two blocks of heap data

     [ https://issues.apache.org/jira/browse/ARROW-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liya Fan closed ARROW-6935.
---------------------------
    Resolution: Won't Fix

> [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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> 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)