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 2018/01/24 03:04:00 UTC

[jira] [Resolved] (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 ]

Wes McKinney resolved ARROW-1712.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 1481
[https://github.com/apache/arrow/pull/1481]

> [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
>            Priority: Major
>              Labels: pull-request-available
>             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
(v7.6.3#76005)