Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize VecSplice that is used in the ViewSequences as ElementsSplice trait and optimize tree-structure diffing in xilem_web with it #159

Closed
wants to merge 1 commit into from

Conversation

Philipp-M
Copy link
Contributor

This slightly changes the ViewSequence trait to take a trait dyn ElementsSplice instead of the VecSplice. Functionally (in xilem) this should result in the same. But it has the advantage to track diffing more precisely in ViewSequences.
This is used in xilem_web to only update elements that actually have changed (instead of removing all elements and adding the rebuilt elements again).

…Splice` trait and optimized tree-structure diffing in `xilem_web` with it
@Philipp-M
Copy link
Contributor Author

Closing as this will be merged with/as #160

@Philipp-M Philipp-M closed this Feb 26, 2024
@Philipp-M Philipp-M deleted the elements-splice branch March 13, 2024 22:22
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