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

Brian Hulette updated ARROW-1652:
---------------------------------
    Description: CompositeVector should have a {{batch(i)}} function that 
returns a BatchVector  (was: The {{Vector.get}} function just accepts an index, 
and looks up the appropriate record batch on every call. This can lead to a lot 
of additional lookups when iterating by index. It would be nice if 
{{Vector.get}} accepted an optional batch hint, similar to 
[{{Vector.range}}|https://github.com/apache/arrow/blob/master/js/src/vector/typed.ts#L51]

Additionally, if {{Table}} had some knowledge of the batches in its Vectors, it 
could use this batch hint to improve performance when iterating over rows.)

> [JS] Separate Vector into BatchVector and CompositeVector
> ---------------------------------------------------------
>
>                 Key: ARROW-1652
>                 URL: https://issues.apache.org/jira/browse/ARROW-1652
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: JavaScript
>            Reporter: Brian Hulette
>            Assignee: Paul Taylor
>              Labels: Performance
>
> CompositeVector should have a {{batch(i)}} function that returns a BatchVector



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to