Skip to content

[JS] Table.toArray() allocates a large array. #48

@swallez

Description

@swallez

Describe the enhancement requested

Table.toArray() allocates an array of the size of the table to store proxies to each of the rows.

This can be large and consume a significant amount of memory. A proxy that wraps the table and acts as an array would avoid this and provide a near zero cost struct array view of the table.

Component(s)

JavaScript

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions