You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/06/27 04:44:00 UTC
[jira] [Comment Edited] (PDFBOX-4253) Optimize
PDFunctionType3.eval()
[ https://issues.apache.org/jira/browse/PDFBOX-4253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524565#comment-16524565 ]
Tilman Hausherr edited comment on PDFBOX-4253 at 6/27/18 4:43 AM:
------------------------------------------------------------------
Yes this is a known flaw, but it has existed before (and yes I am aware that this is not a very good argument), 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.
was (Author: tilman):
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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org