Side navigation
#7832 closed enhancement (worksforme)
Opened December 22, 2010 05:01PM UTC
Closed December 22, 2010 06:01PM UTC
jQuery Speed Up
Reported by: | bozovsky@dmg.cz | 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
}
2. 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
Attachments (0)
Change History (1)
Changed December 22, 2010 06:01PM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
jQuery's selector engine Sizzle uses
document.querySelectorAll
wherever it is supported.