Petr Slaby created PDFBOX-2095:
----------------------------------

             Summary: Useless memory allocation in GlyfDescript
                 Key: PDFBOX-2095
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2095
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.0
            Reporter: Petr Slaby
            Priority: Minor


GlyfDescript#readInstructions() allocates an int array which is never used 
(replaced by TTFDataStream#readUnsignedByteArray) on the following line. While 
harmless, this still costs some memory and garbage collector time.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to