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

Tilman Hausherr commented on PDFBOX-4569:
-----------------------------------------

I had a look at the code and it is really nice. I assume the hot stuff, i.e. on 
demand parsing, happens in {{COSObject.getObject()}}. Coincidentally that's the 
only location where I wondered whether the code could be improved, i.e. avoid 
the {{if (parser instanceof COSParser)}} why not have dereferenceCOSObject() in 
any BaseParser object and that it returns some fixed value if it does nothing?

> Implement an ondemand Parser
> ----------------------------
>
>                 Key: PDFBOX-4569
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4569
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Parsing
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 3.0.0 PDFBox
>
>         Attachments: PDFBOX-1084.pdf
>
>
> There is a need to replace the big bang parser with an ondemand parser



--
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