Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 15, 2015 01:00 pm

JavaScript Loop Optimization

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:

  1. What is the fastest way to iterate through a collection of elements?
  2. Why is this important to know?
  3. Does the type of data you're iterating through matter?

Through the use of the video, the sample code available on GitHub, and the video linked above, you should be able to study what we've done and apply it with future work that you have with JavaScript, loops, and large data sets.


Original Link:

Share this article:    Share on Facebook
No Article Link

TutsPlus - Code

Tuts+ is a site aimed at web developers and designers offering tutorials and articles on technologies, skills and techniques to improve how you design and build websites.

More About this Source Visit TutsPlus - Code