Skip to content

fix: [#2146] Improve getSelectorGroups performance#2147

Open
joaocraveiro wants to merge 1 commit intocapricorn86:masterfrom
joaocraveiro:fix-get-selector-groups-syntax-error
Open

fix: [#2146] Improve getSelectorGroups performance#2147
joaocraveiro wants to merge 1 commit intocapricorn86:masterfrom
joaocraveiro:fix-get-selector-groups-syntax-error

Conversation

@joaocraveiro
Copy link
Copy Markdown

@joaocraveiro joaocraveiro commented Apr 26, 2026

This fixes the performance issue with getSelectorGroups in query-selector/SelectorParser.ts by only creating a SyntaxError when we need to throw.

Fixes #2146

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.

Unnecessary SyntaxError eager creation

1 participant