[
https://issues.apache.org/jira/browse/ARROW-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563735#comment-16563735
]
Antoine Pitrou commented on ARROW-2904:
---------------------------------------
Note there are two cases to consider.
The null bitmap is always memset to 0. We could keep that property (the null
bitmap is usually much smaller than the actual data, so the initial memset may
not cost much), which has the nice side effect of making output deterministic.
{{BooleanBuilder}} also memsets its raw data to 0. The same reasoning may apply
as for the null bitmap (is it customary to have huge boolean arrays?).
> [C++] Use FirstTimeBitmapWriter instead of SetBit functions in builder.h/cc
> ---------------------------------------------------------------------------
>
> Key: ARROW-2904
> URL: https://issues.apache.org/jira/browse/ARROW-2904
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.11.0
>
>
> See discussion in patch for ARROW-2826
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)