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

Alexander commented on ARROW-7051:
----------------------------------

More context:

[https://github.com/apache/arrow/pull/10802#discussion_r684345342] 

 

> 
This seems like a very useful utility function. I wonder if we want to put it 
somewhere more visible. There could be a CreateEmptyRecordBatch and 
CreateEmptyTable too. Can be done in a follow-up PR.
!https://github.githubassets.com/images/icons/emoji/unicode/1f440.png|width=20,height=20!
  1
 

> [C++] Improve MakeArrayOfNull to support creation of multiple arrays
> --------------------------------------------------------------------
>
>                 Key: ARROW-7051
>                 URL: https://issues.apache.org/jira/browse/ARROW-7051
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.14.0
>            Reporter: Ben Kietzman
>            Assignee: Alexander
>            Priority: Minor
>              Labels: beginner
>
> MakeArrayOfNull reuses a single buffer of {{0}} for all buffers in the array 
> it creates. It could be extended to reuse that same buffer for all buffers in 
> multiple arrays. This optimization will make RecordBatchProjector and 
> ConcatenateTablesWithPromotion more memory efficient



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to