apache / apache/arrow-js

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

Open
#48 0 comments 1 reaction 1 assignee Claimed by @swallez View on GitHub
Type: enhancement
Dominant language
TypeScript
Stars
112
Forks
23
Avg merge
21h 18m
Merged PRs (30d)
8

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.