[jira] [Updated] (ARROW-8659) [Rust] ListBuilder and FixedSizeListBuilder capacity

2020-05-01 Thread Chao Sun (Jira)


 [ 
https://issues.apache.org/jira/browse/ARROW-8659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chao Sun updated ARROW-8659:

Component/s: Rust

> [Rust] ListBuilder and FixedSizeListBuilder capacity
> 
>
> Key: ARROW-8659
> URL: https://issues.apache.org/jira/browse/ARROW-8659
> Project: Apache Arrow
>  Issue Type: Improvement
>  Components: Rust
>Reporter: Raphael Taylor-Davies
>Assignee: Raphael Taylor-Davies
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.0.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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)


[jira] [Updated] (ARROW-8659) [Rust] ListBuilder and FixedSizeListBuilder capacity

2020-04-30 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARROW-8659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-8659:
--
Labels: pull-request-available  (was: )

> [Rust] 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
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)


[jira] [Updated] (ARROW-8659) [Rust] ListBuilder and FixedSizeListBuilder capacity

2020-04-30 Thread Raphael Taylor-Davies (Jira)


 [ 
https://issues.apache.org/jira/browse/ARROW-8659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raphael Taylor-Davies updated ARROW-8659:
-
Summary: [Rust] ListBuilder and FixedSizeListBuilder capacity  (was: 
ListBuilder and FixedSizeListBuilder capacity)

> [Rust] 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
>Priority: Minor
>
> 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)