mozilla/pdf.js — pull request #4829 by fkaelberer (2014-05-23 08:15:27+00:00)
Title: small optimizations in parser.getObj(), lexer.getObj()

This reduces the number of isCmd() checks in parser.getObj() and so speeds the function by ~20%. In street-map-like PDFs, parser.getObj() is called millions of times.