You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/01/15 00:15:54 UTC
[jira] Resolved: (PDFBOX-602) PDFBox performance issue: PDPage
tweaks
[ https://issues.apache.org/jira/browse/PDFBOX-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved PDFBOX-602.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
Assignee: Jukka Zitting
Good idea! I committed the changes in revision 899459.
> PDFBox performance issue: PDPage tweaks
> ----------------------------------------
>
> Key: PDFBOX-602
> URL: https://issues.apache.org/jira/browse/PDFBOX-602
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 0.8.0-incubator
> Environment: All
> Reporter: Mel Martinez
> Assignee: Jukka Zitting
> Fix For: 1.0.0
>
> Attachments: PDPage.java
>
>
> During parsing / text extraction the PDPage class' getMediaBox() and getParent() methods are accessed many times. They are currently slow because the code recalculates the results each time.
> These should instead be persisted in instance fields so that they are only calculated once unless the underlying object state has changed.
> I will attach a version of the file that includes the fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.