You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Panchen Xue (JIRA)" <ji...@apache.org> on 2018/01/11 16:19:03 UTC
[jira] [Assigned] (ARROW-1712) [C++] Add method to BinaryBuilder to
reserve space for value data
[ https://issues.apache.org/jira/browse/ARROW-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Panchen Xue reassigned ARROW-1712:
----------------------------------
Assignee: Panchen Xue
> [C++] Add method to BinaryBuilder to reserve space for value data
> -----------------------------------------------------------------
>
> Key: ARROW-1712
> URL: https://issues.apache.org/jira/browse/ARROW-1712
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Assignee: Panchen Xue
> Fix For: 0.9.0
>
>
> The {{Resize}} and {{Reserve}} methods only reserve space for the value offsets. When building binary/string arrays with a known size (or some reasonable estimate), it would be more efficient to reserve once at the beginning to prevent internal reallocations
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)