A partial rollback of the refactoring done in [4032]. It was causing a 4-6% speed...
authorDavid Serduke <davidserduke@gmail.com>
Wed, 5 Dec 2007 21:23:07 +0000 (21:23 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Wed, 5 Dec 2007 21:23:07 +0000 (21:23 +0000)
commit7cdddebe047302f51c4fd30823565f3ac1553d60
tree7eb9aaf7a30cc1b691f4b770ecef1b88f4eca9d2
parentb0b5fa74b6790ad18504c063f2ffcc1beb52916a
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.
src/selector.js