You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2016/12/27 15:23:58 UTC
[jira] [Closed] (ARROW-216) C++: BooleanBuilder uses storage
ineffienctly
[ https://issues.apache.org/jira/browse/ARROW-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney closed ARROW-216.
------------------------------
Resolution: Not A Problem
{{ArrayBuilder::Reserve}} calls {{Resize}}, which is virtual and overridden (to account for bitpacking) in {{BooleanBuilder}}. https://github.com/apache/arrow/blob/master/cpp/src/arrow/builder.cc#L221
> 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
> Labels: newbie
>
> 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)