pdf.js/test/unit
Nicholas Nethercote adf58ed687 Represent cid chars using integers, not strings.
cid chars are 16-bit unsigned integers. Currently we convert them to
single-char strings when inserting them into the CMap, and then convert
them back to integers when extracting them from the CMap. This patch
changes CMap so that cid chars stay in integer format throughout, saving
both time and space.

When loading the PDF from issue #4580, this change reduces peak RSS from
~600 to ~370 MiB. It also improves overall speed on that PDF by ~26%,
going from 724 ms to 533 ms.
2014-08-01 02:35:17 -07:00
..
api_spec.js Removing unused code 2014-07-18 22:34:50 +02:00
cmap_spec.js Represent cid chars using integers, not strings. 2014-08-01 02:35:17 -07:00
crypto_spec.js Removing unused code 2014-07-18 22:34:50 +02:00
evaluator_spec.js Use null instead of [] for ops with no args. 2014-06-22 16:03:48 -07:00
font_spec.js Removing unused code 2014-07-18 22:34:50 +02:00
function_spec.js Completes unit tests for PostScript evaluator and fixes two bugs in the evaluator itself 2014-05-03 12:18:18 +02:00
metadata_spec.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
obj_spec.js Use a cache to minimize the number of Name objects. 2014-02-27 20:41:03 -08:00
parser_spec.js Fixes ignoring of the escaped CR LF 2014-03-20 11:50:12 -05:00
stream_spec.js Fix coding style in test/unit/stream_spec.js 2014-03-14 15:31:00 +01:00
testreporter.js Enforcing JSHint's undef option 2014-07-19 16:41:07 +02:00
unit_test.html Splits shared/annotation.js into core/ and display/ 2014-06-17 17:43:33 -05:00
util_spec.js Use a cache to minimize the number of Name objects. 2014-02-27 20:41:03 -08:00