Js

969 views

Published on

整理。

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
969
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Js

  1. 1. JavaScript Performance Tips
  2. 2. String Builder
  3. 3. Loop
  4. 4. Cache
  5. 5. Anonymous function
  6. 6. Reflow (order)
  7. 7. Reflow (style class)
  8. 8. Reflow (DocumentFragment)
  9. 9. Instead of switch
  10. 10. Delegate (HTML)
  11. 11. Delegate (code)
  12. 12. <ul><li>http://www.slideshare.net/madrobby/extreme-javascript-performance </li></ul>

×