Skip to content

[JS] Use a flywheel for struct row #30863

Closed

Description

@asfimport

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

return vector.bind(index) as T['TValue'];
and
const proto = this._row || (this._row = new StructRow<T>(this));
.

Reporter: Dominik Moritz / @domoritz

Note: This issue was originally created as ARROW-15379. Please see the migration documentation for further details.

Activity

  1. added a commit that references this issue on Oct 2, 2024
  2. modified the milestones: 19.0.0, 18.0.0 on Oct 3, 2024
  3. added a commit that references this issue on Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions