Skip to content

script: Add UnrootedSimpleNodeIterator#42978

Merged
jdm merged 5 commits intoservo:mainfrom
Narfinger:simplenodeiterator-efficient
Mar 9, 2026
Merged

script: Add UnrootedSimpleNodeIterator#42978
jdm merged 5 commits intoservo:mainfrom
Narfinger:simplenodeiterator-efficient

Conversation

@Narfinger
Copy link
Copy Markdown
Contributor

@Narfinger Narfinger commented Mar 3, 2026

In the same vein as #42781 we implement a UnrootedSimpleNodeIterator that takes a no_gc and does not root the required nodes.

We include an example usage in 'dom/text.rs' WholeText.

This requires #42781 to be merged first.

@Narfinger Narfinger force-pushed the simplenodeiterator-efficient branch 2 times, most recently from baf1501 to 5053e8d Compare March 9, 2026 03:20
Signed-off-by: Narfinger <[email protected]>
Signed-off-by: Narfinger <[email protected]>
Signed-off-by: Narfinger <[email protected]>
Signed-off-by: Narfinger <[email protected]>
@Narfinger Narfinger marked this pull request as ready for review March 9, 2026 05:36
@Narfinger Narfinger requested a review from gterzian as a code owner March 9, 2026 05:36
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 9, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Mar 9, 2026
@jdm jdm added this pull request to the merge queue Mar 9, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Mar 9, 2026
Merged via the queue into servo:main with commit 9062952 Mar 9, 2026
33 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Mar 9, 2026
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.

3 participants