WASI icon indicating copy to clipboard operation
WASI copied to clipboard

directory-entry-stream read batching

Open guybedford opened this issue 2 years ago • 3 comments

This was originally brought up by @dbaeumer - having to have a function call per directory entry to read through the directory entry stream might introduce unnecessary performance costs for iterating large directories.

It could be useful to have the ability to fetch a chunked list by specifying a read variant that takes some kind of upper chunk limit of directory counts at a time to batch reads together.

guybedford avatar Nov 30 '23 01:11 guybedford