[
https://issues.apache.org/jira/browse/PDFBOX-5200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350491#comment-17350491
]
ASF subversion and git services commented on PDFBOX-5200:
---------------------------------------------------------
Commit 1890164 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1890164 ]
PDFBOX-5200: cache pageTree, as suggested by valerybokov
> Cache PageTree in PDFPrintable
> ------------------------------
>
> Key: PDFBOX-5200
> URL: https://issues.apache.org/jira/browse/PDFBOX-5200
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.23
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.24, 3.0.0 PDFBox
>
>
> Suggestion by valerybokov
> {quote}
> PDFPrintable.print (row 194). Suggestion: create a field instead of calling
> the method for document.getNumberOfPages(). Reason is TODO in PDDocument:
> REPLACE most calls to this method with BELOW method. Additionally check row
> 202. Maybe field PDPageTree will be better than current version.
> {quote}
> He's right, printing could take a very long time for huge files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]