Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change avoids the element stringification caused by for..in for the vast majority of CMaps. When loading the PDF from issue mozilla#4580, this change reduces peak RSS from ~650 to ~600 MiB, and improves overall speed by ~20%, from 902 ms to 713 ms. Other CMap-heavy documents will also see improvements.
- Loading branch information