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)

Reply via email to