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

Improved performance of the 'getSubNodes()' utility #11475

Merged
merged 1 commit into from Mar 28, 2022
Merged

Improved performance of the 'getSubNodes()' utility #11475

merged 1 commit into from Mar 28, 2022

Conversation

ma2ciek
Copy link
Contributor

@ma2ciek ma2ciek commented Mar 16, 2022

Suggested merge commit message (convention)

Other: Improved performance of the getSubNodes() utility.


Additional information

This function is a bottleneck when it comes to the watchdog restarting mechanism - watchdog traverses the whole editor structure to find the context of the thrown error. After this change, the getSubNodes function will be ~100 times faster for large documents.

@ma2ciek ma2ciek requested a review from scofalik March 16, 2022 10:32
@Reinmar Reinmar merged commit ee63f39 into master Mar 28, 2022
@Reinmar Reinmar deleted the cf/4302 branch March 28, 2022 10:35
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.

None yet

2 participants