arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes McKinney (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ARROW-216) C++: BooleanBuilder uses storage ineffienctly
Date Tue, 27 Dec 2016 15:23:58 GMT

     [ 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)

Mime
View raw message