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/07/04 08:49:00 UTC

[jira] [Updated] (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 ]

Liya Fan updated ARROW-5843:
----------------------------
    Description: 
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. 

  was:
Improve the performance 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. 


> [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
>
> 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)