In this video, we'll look at some steps we can take to optimize our for loops so they are as performant as possible. We're going to be doing this through the use of a demo web application, three different browsers with tests, and sample code.
Watch the Video
A Quick Recap
Recall in the video, we attempted to answer the following questions:
- What is the fastest way to iterate through a collection of elements?
- Why is this important to know?
- Does the type of data you're iterating through matter?
Source: Tuts Plus