observablehq / stdlib

The Observable standard library.
https://observablehq.com/@observablehq/standard-library
ISC License
966 stars 83 forks source link

Opt-in to asynchronous parsing of XLSX? #262

Open visnup opened 3 years ago

visnup commented 3 years ago

The fileAttachment.xlsx() method is currently synchronous: once you call it, the entire workbook is parsed. For very large workbooks this may be prohibitive and a streaming API may be preferred. It could delay work until a specific sheet and range are extracted and stream rows back instead of building them up in memory.