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

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

Commit 1856738 from [email protected] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1856738 ]

PDFBOX-4502: don't call getPage if out of range as proposed by ccouturi

> Performance issue with splitter and huge files
> ----------------------------------------------
>
>                 Key: PDFBOX-4502
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4502
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.14, 3.0.0 PDFBox
>            Reporter: ccouturi
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>              Labels: patch, performance
>             Fix For: 2.0.15, 3.0.0 PDFBox
>
>         Attachments: fix_seek_splitter.patch
>
>
> The Splitter.processPages is currently experiencing performance issue when 
> it's used in "seek" mode with startPage > 0 and huge files.
> {{{color:#9876aa}sourceDocument{color}.getPage(i){color:#cc7832}; {color}}}
> {{{color:#cc7832}{color:#333333}is called on each page of the document and 
> this method is time consuming. It may possible to move this call only for 
> pages between start and end pages parameters.{color}
> {color}}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to