[
https://issues.apache.org/jira/browse/PDFBOX-4253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524565#comment-16524565
]
Tilman Hausherr commented on PDFBOX-4253:
-----------------------------------------
Yes this is a known flaw, but it has existed before, see functionsArray. That
one is cached as well. If there is ever a tool that allows to change live COS
structures and render immediately, then we'd have to adjust this.
> 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: [email protected]
For additional commands, e-mail: [email protected]