Speed up JavaScript by making it execute exceedingly fast with these Google certified techniques
Ok everyone’s good friend David Walsh over at davidwalsh.name posted a link to a Google Talks presentation – Javascript and speed from back in 2009 in which they discuss some simple yet amazingly important JavaScript optimisation techniques. Ranging from Dom interaction and Scope , all the way through to Reflow. Now if your not sure what Reflow is I will explain that below, but put simple it is the name given when the browser has to redraw the page because user interaction or JavaScript has changed its geometry.
So here is what I’m going to cover in this post for you optimisation fanatics, with code examples of the good, the bad and the ugly!
- Scope Management
- Data Access
- Loops
- The DOM
