pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-3131) Reduce amount of intermediate data and objects to reduce memory footprint/complexity
Date Sat, 19 Dec 2015 12:21:46 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065353#comment-15065353
] 

ASF subversion and git services commented on PDFBOX-3131:
---------------------------------------------------------

Commit 1720905 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1720905 ]

PDFBOX-3131: preallocate the expected amount of values for collections to avoid massive resizing
operations

> Reduce amount of intermediate data and objects to reduce memory footprint/complexity
> ------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-3131
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3131
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: FontBox
>    Affects Versions: 2.0.0
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>             Fix For: 2.0.0
>
>
> The CFFParser holds a lot of intermediate data and produces a lot of objects to do so.
The idea is to reduce the amount of such objects and dat ot reduce the memory footprint and
the complexity.
> - the class IndexData holds intermediate data creates byte array everytime when getBytes
is called. I'm going to replace the class with a simple list to reduce the memory footprint
and the complexity
> - remove unused members of private classes
> - create a list of strings instead of a list of byte arrays which is used to create those
strings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message