npm/npm — pull request #6985 by frankcash (2014-12-21 18:36:18+00:00)
Title: For loop optimization

Checking the .length property in the second argument for a for loop is
costly and can add up. Thus I changed the corresponding for loops to
check .length in the first argument and assign them to var l. The loops
then proceed to check against l each run through.