You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2016/06/13 21:15:03 UTC

[jira] [Commented] (ARROW-216) C++: BooleanBuilder uses storage ineffienctly

    [ https://issues.apache.org/jira/browse/ARROW-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15328283#comment-15328283 ] 

Wes McKinney commented on ARROW-216:
------------------------------------

I just took a look at this -- I had thought this was calling down to the {{type_traits<BooleanType>::bytes_required}} specialization (which computes the number of bytes required to store the indicated number of bits), but maybe this is missed someplace? 

> C++: BooleanBuilder uses storage ineffienctly
> ---------------------------------------------
>
>                 Key: ARROW-216
>                 URL: https://issues.apache.org/jira/browse/ARROW-216
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Uwe L. Korn
>
> Although Arrow uses bit-packing for booleans, we reserve {{length}} bytes in the BooleanBuilder. This should be bits, i.e. only 1/8.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)