schlosna opened a new issue, #816:
URL: https://github.com/apache/arrow-java/issues/816

   ### Describe the enhancement requested
   
   `FixedSizeListVector#getObject` already performs this optimization; however, 
`ListVector`, `ListViewVector`, `LargeListVector`, and `LargeListViewVector` do 
not yet presize the result `JsonStringArrayList` requiring dynamic 
reallocations as elements are converted & added. This can become a scalability 
bottleneck when using these types.
   
   Example of `FixedSizeListVector` presizing: 
   
   
https://github.com/apache/arrow-java/blob/a6245ab87c782e2b873526acbd876cdf96d1f0ee/vector/src/main/java/org/apache/arrow/vector/complex/FixedSizeListVector.java#L476-L482
   
   Example `ListVector` not presizing:
   
   
https://github.com/apache/arrow-java/blob/a6245ab87c782e2b873526acbd876cdf96d1f0ee/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java#L718-L727


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to