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

Emmeran Seehuber commented on PDFBOX-4253:
------------------------------------------

[~tilman] Maybe a stupid questions, but how does the cache get pruned if the 
underlying COSArray changes? Yes, should normally not happen that often, but at 
the moment the function would then use stale values.

> Optimize PDFunctionType3.eval()
> -------------------------------
>
>                 Key: PDFBOX-4253
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4253
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.10, 2.0.11
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: optimization
>             Fix For: 3.0.0 PDFBox, 2.0.12
>
>         Attachments: PDFJS-9770-slow.pdf
>
>
> I ran the profiler on PDFJS-9770-slow.pdf and it turned out that a few 
> seconds were lost in {{COSArray.toFloatArray()}}. Caching it saves about 30%.



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

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

Reply via email to