nortypig

an experiential adventure

subscibe to the nortypig.com rss feed

JavaScript Loop Performance

Robert Nyman has an interesting conversation running about JavaScript loop performance. Basically, as he points out, its far more efficient to create a variable and test on that in your loops rather than making a recalculation every iteration.

Leave a Reply

NOTE: fields marked with an asterisk * are required.