×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

jQuery Anti-Patterns for Performance & Compression

by Developer Advocate at Google Chrome on Sep 11, 2009

  • 96,330 views

 

Statistics

Views

Total Views
96,330
Views on SlideShare
57,898
Embed Views
38,432

Actions

Likes
183
Downloads
2,100
Comments
10

80 Embeds 38,432

http://paulirish.com 28760
http://www.paulirish.com 6863
http://www.dustinmartin.net 733
http://richchetwynd.com 331
http://www.dennsia.com 252
http://www.slideshare.net 246
http://www.iamntz.com 224
http://inifinity.tumblr.com 178
http://jasonwyatt.tumblr.com 76
http://0.0.0.0 70
http://thefronts.com 69
http://www.tangentlabs.mx 60
http://dustinmartin.net 52
http://www.najamsikander.com 47
http://mezzin.wordpress.com 36
http://speakerrate.com 35
http://tangentlabs.dev 34
http://us-w1.rockmelt.com 31
http://www.scoop.it 28
http://portal.accelrys.net 20
http://www.dennsia.es 20
http://localhost 17
http://www.twylah.com 16
http://www.denisdeng.com 15
http://paper.li 15
http://elgreg.org 15
http://onwebdev.blogspot.com 13
http://deanyan.com 13
http://sebastienhiticas.com 10
http://webcache.googleusercontent.com 9
http://es.freqly.com 8
http://translate.googleusercontent.com 8
http://www.journogeekery.com 8
http://static.slidesharecdn.com 8
http://tugll.tugraz.at 7
http://najamsk.github.io 7
http://seenthis.net 6
https://twimg0-a.akamaihd.net 6
http://www.netvibes.com 6
https://twitter.com 5
http://najamsikander.com 5
http://xss.yandex.net 5
http://blog.najamsikander.com 4
http://192.81.214.198 4
http://web-proxy02.appspot.com 4
http://cache.baidu.com 4
http://rajesh4usability.blogspot.com 3
http://www.inifinity.tumblr.com 3
https://admin.boerse-go.de 3
http://itblog.unister.lan 3
More...

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

110 of 10 previous next Post a comment

  • andrewzich Andrew Zich a() && b = (x() && y(), c() || d());

    if(a()) {
    if(x()) y();
    b = c();
    if(b) b = d();
    }
    2 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • PauloSilva9 Paulo Silva pdf version would be nice 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • pzyky Miciano IV Jj at Alveo Land Corp Any pdf version which is downloadable? 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • benvds Ben van de Sande, Internet solutions designer and agile developer at Studio Pomodoro great slide! 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • xentek Eric Marden, Chief Technology Officer at XENTEK Fantastic Prezi. 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • bdaniel7 bdaniel7 the presentation downloads as .key file.. instead of .ppt or .odp how can I open it? 3 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • MichaliSarris MichaliSarris @Doug Avery:

    De && operator is a logical AND. An int value of 0 is considered false, while all other int values are true. The && operator does short circuit evaluation, which means that if the first expression is known to be false, then the second expression will not be evaluated.

    In case length is 0 it will be evaluated to false in the logical AND and apply() will never be called on the parameter func callback.
    4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • MarcusJT Marcus Tucker, User Experience Architect at Capgemini Slide #37 is VERY interesting indeed... 4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • guesta04476 Doug Avery I love the idea of doOnce(), but as a JS noob, I was just curious about what’s going on in line 2. I follow on apply() and length, but I don’t quite get what’s happening with the wily && operator. Can you clarify? 4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
  • lrbabe lrbabe Regex are slow... I can't even see the benefit of the second test, it is less readable and not much shorter. 4 years ago
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

jQuery Anti-Patterns for Performance & Compression jQuery Anti-Patterns for Performance & Compression Presentation Transcript