You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Raphael Taylor-Davies (Jira)" <ji...@apache.org> on 2020/04/30 22:19:00 UTC
[jira] [Created] (ARROW-8659) ListBuilder and FixedSizeListBuilder
capacity
Raphael Taylor-Davies created ARROW-8659:
--------------------------------------------
Summary: ListBuilder and FixedSizeListBuilder capacity
Key: ARROW-8659
URL: https://issues.apache.org/jira/browse/ARROW-8659
Project: Apache Arrow
Issue Type: Improvement
Reporter: Raphael Taylor-Davies
Assignee: Raphael Taylor-Davies
Both ListBuilder and FixedSizeListBuilder accept a values_builder as a constructor argument and then set the capacity of their internal builders based off the length of this values_builder. Unfortunately at construction time this values_builder is normally empty, and consequently programs spend an unnecessary amount of time reallocating memory.
This should be addressed by adding new constructor methods that allow specifying the desired capacity upfront.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)