-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Perf: don't run the regex replace unless the selectorText contains a colon #1280
Conversation
|
0ea58e7
to
c7a0776
Compare
Looks good to me - I also had a hard time testing this locally, but this should be good I think (don't have any setup right now to verify this, but the existing test should cover this hopefully?) |
@eoghanmurray could you rebase this PR, I just merged in #1279 |
…colon (rules generally contain colons)
…as it means we only try to fix colons at the leaf level
aea7351
to
aa8939d
Compare
(rules generally contain colons)
This is an imagined performance improvement on #1253 so should be measured!