[ 
https://issues.apache.org/jira/browse/ARROW-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661720#comment-17661720
 ] 

Rok Mihevc commented on ARROW-4698:
-----------------------------------

This issue has been migrated to [issue 
#21225|https://github.com/apache/arrow/issues/21225] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [C++] Let StringBuilder be constructible with a pre allocated buffer for 
> character data
> ---------------------------------------------------------------------------------------
>
>                 Key: ARROW-4698
>                 URL: https://issues.apache.org/jira/browse/ARROW-4698
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Ben Kietzman
>            Priority: Minor
>
> This is useful for example when an existing buffer can be immediately reused. 
> This is currently used for [storage of strings in json 
> parsing](https://github.com/apache/arrow/blob/master/cpp/src/arrow/json/parser.cc#L60),
>  so it'd be straightforward to refactor into a constructor of StringBuilder.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to