• David Serduke's avatar
    A partial rollback of the refactoring done in [4032]. It was causing a 4-6%... · 7cdddebe
    David Serduke authored
    A partial rollback of the refactoring done in [4032]. It was causing a 4-6% speed decrease on certain hierarchy selectors ( > + and ~ ) since it did an extra .toUpperCase() which wasn't required.
    
    The part left in was moving one of the .toUpperCase() calls to the var nodeName instead of having it in the loop.  This appears to be giving a speed boost of a couple percent for those same hierarchy selectors.
    
    7cdddebe
selector.js 11.2 KB