jquery / sizzle

A sizzlin' hot selector engine.
https://sizzlejs.com
Other
6.29k stars 951 forks source link

speed up the tokenise #400

Closed Nico-at-worxx closed 7 years ago

Nico-at-worxx commented 7 years ago

by sourcing out the comma on start and the firstrun the loop does not compute the if sequence on every run.

in the original the !matched only hits on the first run (so it can be done before the loop) and the comma also hits only there. so both parts can be done before the loop

jsf-clabot commented 7 years ago

CLA assistant check
All committers have signed the CLA.