Skip to content

Remove some unnecessary NodeList iterators#913

Merged
reese merged 1 commit into
trunkfrom
reese-nodelist-iter
Jun 7, 2026
Merged

Remove some unnecessary NodeList iterators#913
reese merged 1 commit into
trunkfrom
reese-nodelist-iter

Conversation

@reese

@reese reese commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

I noticed a few places that currently create iterators for node lists when we can use len or first instead, which save us from having to create the intermediary iterators for some trivial access patterns.

@reese reese merged commit b2a11b6 into trunk Jun 7, 2026
8 checks passed
@reese reese deleted the reese-nodelist-iter branch June 7, 2026 23:15
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.

2 participants