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)