More jQuery performance tips: 11 keystrokes buy you 10x

Dave Ward has a very extensive post (with benchmarks) on jQuery selector optimization. Really interesting stuff — the lesson is, the more specific your query, the faster it executes. The DOM is a data source, after all. He was able to achieve a 10x performance improvement by adding just 11 characters.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s