You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2020/02/23 16:11:00 UTC

[jira] [Comment Edited] (PDFBOX-3888) Refactor COSParser

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

Andreas Lehmkühler edited comment on PDFBOX-3888 at 2/23/20 4:10 PM:
---------------------------------------------------------------------

{quote} Wow! Before: 1288 ms. After: 764 ms.{quote}
Cool,  I didn't run any performance tests and am surprised that those changes have such a huge impact :-)
What exactly did you use for the comparison?


was (Author: lehmi):
{quote} Wow! Before: 1288 ms. After: 764 ms.{quote}
Cool,  I didn't run any performance tests and am surprised that those changes have such a huge impact :-)

> Refactor COSParser
> ------------------
>
>                 Key: PDFBOX-3888
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3888
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Parsing
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>              Labels: parsing
>             Fix For: 3.0.0 PDFBox
>
>
> The COSParser contains a lot of stuff which is more or less hard to understand/maintain. I'm going to refactor some of the code as follows
> - separate the bruteforce stuff maybe in its own class
> - separate the parsing of the xref data maybe in its own class
> - lay the foundation for the on demand parser



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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