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

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

Liya Fan created ARROW-5843:
-------------------------------

             Summary: [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


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. 



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