mozilla/pdf.js — pull request #748 by arturadib (2011-11-02 19:36:23+00:00)
Title: For-loop cache

I've noticed up to a ~10% speedup using cached for loops versus accessing `.length` on every loop. Not sure if there'll be a noticeable speedup for us, but I guess it's common practice to use that anyway.

Let's see how long the bot takes... Our previous two runs (https://github.com/mozilla/pdf.js/pull/744#issuecomment-2605804 and https://github.com/mozilla/pdf.js/pull/743#issuecomment-2593467) took about `29.5 min`.