Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0-incubator
-
None
-
All
Description
During parsing / text extraction the Encoding.getCharacter(COSName) method is invoked repeatedly.
It includes a string test that is performed up front but should only occur rarely. The code should be restructured slightly to only perform that test later. I.E. it should succeed fast and fail slow.
I'll post an attachment that rewrites the method slightly. The performance gains is fairly significant.