Skip to content

Comments

ListView: add fns with_load_ahead, with_min_alloc_len#659

Merged
dhardy merged 5 commits intomasterfrom
push-oqxvwllmqwnz
Feb 10, 2026
Merged

ListView: add fns with_load_ahead, with_min_alloc_len#659
dhardy merged 5 commits intomasterfrom
push-oqxvwllmqwnz

Conversation

@dhardy
Copy link
Collaborator

@dhardy dhardy commented Feb 10, 2026

Support (predictive) load-ahead and load cache for ListView view widgets, and use in the file explorer.

Note that load-ahead and caching could instead be implemented in the async clerk. This would be "better" (in that only the minimum amount of data is cached, not whole widgets) but would require significant revisions to the file explorer and also would require using Sprite over custom code rendering images and SVG to (GPU) buffers instead of using the Image and Svg widgets.

Since this approach only really requires a couple of lines in the (file-explorer) app this approach will be preferable for many users.

@dhardy dhardy merged commit a884b97 into master Feb 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant