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!