Bug Tracker

Opened 9 years ago

Closed 9 years ago

#7832 closed enhancement (worksforme)

jQuery Speed Up

Reported by: bozovsky@… Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

Hi, I've got 2 recommendations:

  1. It may come interesting for you to speed up string selectors evaluation by the folowing construction:

try {

selector = document.querySelectorAll( selector ); ... return jQuery.merge( this, selector );

} catch(error) {

processing old way

}

  1. I use jQuery on EDEN processors and the startup is very lazy. Probably storing results of the startup tests into the cookie might help a lot (if allowed).

I appreciate jQuery. Good luck. Petr Bozovsky, Czech Republic

Change History (1)

comment:1 Changed 9 years ago by Rick Waldron

Resolution: worksforme
Status: newclosed

jQuery's selector engine Sizzle uses document.querySelectorAll wherever it is supported.

Note: See TracTickets for help on using tickets.