dadhi / dadhi/XamlTea

Consider Zipper data structure to represent children in virtual UI

Open
#6 0 comments 1 reaction 1 assignee Claimed by @dadhi View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.