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

nested e/for-by introduces needless latency #53

Open
dustingetz opened this issue Oct 16, 2023 · 1 comment
Open

nested e/for-by introduces needless latency #53

dustingetz opened this issue Oct 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dustingetz
Copy link
Member

dustingetz commented Oct 16, 2023

If you nest your e/for-bys too deeply you start to notice the page loading in "stratas" where each layer of e/for-by must complete before the next layer finishes. The root of the problem is that the e/for-by is wholly contained by one peer, not split, which is undesirable and constrains expressive power. However, this is not noticed by most users unless working with 3-4 levels of nesting (e.g. tree forms)

Can be resolved after after Differential Electric lands, under which the Electric runtime is aware of collections and diffing, so that the network planner has access to knowledge about e/for nesting depth which is needed to plan the network correctly here.

@dustingetz dustingetz added the bug Something isn't working label Oct 16, 2023
@avocade
Copy link

avocade commented Nov 6, 2023

Please do tell more about this Differential Electric , sounds cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants