1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/src
Nicholas Nethercote 7cbd057deb Avoid unnecessary array allocations in EvaluatorPreprocessor_read().
EvaluatorPreprocessor_read() is called in two cases. For the normal
layer, the args array it produces is used beyond the bounds of the loop
in which EvaluatorPreprocessor_read() is called.

But for the text layer, the args array is used in a very short-term
fashion. This change reworks things so that a single array is repeatedly
used for the text layer. This reduces total JS allocations for the
Spoorkaart map by 11%, and has similar effects on many other PDFs.
2014-08-11 16:57:40 -07:00
..
core Avoid unnecessary array allocations in EvaluatorPreprocessor_read(). 2014-08-11 16:57:40 -07:00
display Nit fixes for svg.js 2014-08-10 14:40:49 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Removes stringToArray 2014-08-10 14:11:04 -05:00
doc_helper.js Creates make.js code to build jsdoc. 2014-04-13 15:54:24 -05:00
pdf.js Enforcing JSHint's undef option 2014-07-19 16:41:07 +02:00
worker_loader.js Stop including cidmaps.js 2014-07-25 21:53:09 +02:00