You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jörn Horstmann (Jira)" <ji...@apache.org> on 2020/09/24 09:21:00 UTC

[jira] [Created] (ARROW-10079) [Rust]: Benchmark and improve count_set_bits function

Jörn Horstmann created ARROW-10079:
--------------------------------------

             Summary: [Rust]: Benchmark and improve count_set_bits function
                 Key: ARROW-10079
                 URL: https://issues.apache.org/jira/browse/ARROW-10079
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust
    Affects Versions: 1.0.1
            Reporter: Jörn Horstmann


`count_set_bits` and `count_set_bits_offset` currently use a lookup table for each byte. I'm thinking it should be more efficient to iterate the data in larger chunks and use the builtin `count_ones` function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)