[
https://issues.apache.org/jira/browse/PDFBOX-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428920#comment-17428920
]
Tilman Hausherr commented on PDFBOX-5293:
-----------------------------------------
Thanks! Might be r1894197 which was a side benefit from looking at all the
AffineTransform operations.
> Store x and y scaling factor
> ----------------------------
>
> Key: PDFBOX-5293
> URL: https://issues.apache.org/jira/browse/PDFBOX-5293
> Project: PDFBox
> Issue Type: Task
> Components: Rendering
> Affects Versions: 2.0.24, 3.0.0 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Labels: optimization
> Fix For: 2.0.25, 3.0.0 PDFBox
>
>
> The x and y scaling factor need to be calculated only once, even if the xform
> gets reassigned (because that reassignment is that scaling factor). This
> should bring a slight speed gain, unless the JIT knows that it's always the
> same. In that case, we just have less code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]