You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Micah Kornfield (JIRA)" <ji...@apache.org> on 2019/07/06 05:23:00 UTC

[jira] [Resolved] (ARROW-5843) [Java] Improve the readability and performance of BitVectorHelper#getNullCount

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

Micah Kornfield resolved ARROW-5843.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Issue resolved by pull request 4798
[https://github.com/apache/arrow/pull/4798]

> [Java] Improve the readability and performance of BitVectorHelper#getNullCount
> ------------------------------------------------------------------------------
>
>                 Key: ARROW-5843
>                 URL: https://issues.apache.org/jira/browse/ARROW-5843
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Improve the implementation by:
> 1. Count the number of 1 bits by long or int, instead of by byte
> 2. If the number of value count is a multiple of 8, there is no need to process the last byte separately. This makes the code clearer. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)