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

Maruan Sahyoun commented on PDFBOX-5293:
----------------------------------------

FYI - did a quick render test comparing to alpha2 (Gent, Altona, PDFSpec) - for 
Gent there is a approx. 5% benefit. The others are similar within the value 
distribution margins. 

> 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]

Reply via email to