Consider Zipper data structure to represent children in virtual UI
Open
enhancement
- Dominant language
- C#
- Stars
- 13
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently I am using ImList, which is an mmutable list with cheap prepending, BUT the usual need in UI is to append to the end (bottom) of lists.
We may use Zipper with its inverted prefix up to the last "selected" element and empty suffix. This will allow constant time append. Plus bonus of having a selected (focused, etc.) element for free.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.