You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jacob Wujciak-Jens (Jira)" <ji...@apache.org> on 2022/04/08 12:29:00 UTC
[jira] [Updated] (ARROW-15379) Use a flywheel for struct row
[ https://issues.apache.org/jira/browse/ARROW-15379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacob Wujciak-Jens updated ARROW-15379:
---------------------------------------
Component/s: JavaScript
> 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)