[ https://issues.apache.org/jira/browse/PDFBOX-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427463#comment-17427463 ]
Tilman Hausherr commented on PDFBOX-5293: ----------------------------------------- There are slight rendering differences; these happen in {{TransparencyGroup.getBounds()}}. The previous version did a float to double conversion by using an unneeded AffineTransform. > 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org