You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Niranda Perera (Jira)" <ji...@apache.org> on 2021/07/28 04:00:00 UTC

[jira] [Created] (ARROW-13473) [C++] Add super-scalar impl for BitUtil::SetBitTo

Niranda Perera created ARROW-13473:
--------------------------------------

             Summary: [C++] Add super-scalar impl for BitUtil::SetBitTo 
                 Key: ARROW-13473
                 URL: https://issues.apache.org/jira/browse/ARROW-13473
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Niranda Perera


{code:java}
void SetBitTo(uint8_t* bits, int64_t i, bool bit_is_set){code}
Add the super-scalar variant to set a bit, as described in here.

[https://graphics.stanford.edu/~seander/bithacks.html#ConditionalSetOrClearBitsWithoutBranching]

Add the implementation and run benchmarks (or create one if not exists)

 



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