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

Optimize simple for-like commands #20

Open
1 of 2 tasks
KaruroChori opened this issue Jan 24, 2025 · 0 comments
Open
1 of 2 tasks

Optimize simple for-like commands #20

KaruroChori opened this issue Jan 24, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@KaruroChori
Copy link
Collaborator

KaruroChori commented Jan 24, 2025

At the moment, for & for-props in both element and attribute versions are computationally heavy to support slices over sorted and filtered content.
An alternative execution path should be provided when no sorting nor filtering is needed.
Considering that such operations are performed externally for external sources, it does make sense to have a lightweight execution of "simple" cycles.

  • parsing optimization (single pass detection of all children)
  • data source optimization (no intermediate data is sorting is not needed)
@KaruroChori KaruroChori added the enhancement New feature or request label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant