[
https://issues.apache.org/jira/browse/ARROW-15379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacob Wujciak-Jens updated ARROW-15379:
---------------------------------------
Summary: [JS] Use a flywheel for struct row (was: Use a flywheel for
struct row)
> [JS] Use a flywheel for struct row
> ----------------------------------
>
> Key: ARROW-15379
> URL: https://issues.apache.org/jira/browse/ARROW-15379
> Project: Apache Arrow
> Issue Type: Improvement
> Components: JavaScript
> Reporter: Dominik Moritz
> Priority: Major
>
> When we access a row from a table or a struct, we create a proxy for the
> struct. We could improve the performance of these accesses by creating a
> single instance of the proxy and store it on the vector or the data type and
> then reuse that instance.
> This should improve performance.
> See
> https://github.com/apache/arrow/blob/7029f90ea3b39e97f1a671227ca932cbcdbcee05/js/src/visitor/get.ts#L219
> and
> https://github.com/apache/arrow/blob/7029f90ea3b39e97f1a671227ca932cbcdbcee05/js/src/vector/struct.ts#L27.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)