You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Brian Hulette (JIRA)" <ji...@apache.org> on 2017/10/19 21:02:00 UTC

[jira] [Updated] (ARROW-1652) [JS] Separate Vector into BatchVector and CompositeVector

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

Brian Hulette updated ARROW-1652:
---------------------------------
    Summary: [JS] Separate Vector into BatchVector and CompositeVector  (was: [JS] Batch hint for Vector.get)

> [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, pull-request-available
>
> 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.



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