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

ASF subversion and git services commented on PDFBOX-5293:
---------------------------------------------------------

Commit 1894146 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1894146 ]

PDFBOX-5293: refactor by removing adjustRectangle(); update TODO comment

> 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