adf58ed687
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. |
||
---|---|---|
.. | ||
api_spec.js | ||
cmap_spec.js | ||
crypto_spec.js | ||
evaluator_spec.js | ||
font_spec.js | ||
function_spec.js | ||
metadata_spec.js | ||
obj_spec.js | ||
parser_spec.js | ||
stream_spec.js | ||
testreporter.js | ||
unit_test.html | ||
util_spec.js |