Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(selectors): speed up text selector (#5387)
- Do not check children when parent does not contain the text we look for. - Minor caching improvements in evaluator. This gives up to 5X performance boost on text-heavy pages.
- Loading branch information
Showing
2 changed files
with
50 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters