Commit 9751497
Avoid unnecessary Point creation in ImageDataAtSizeProvider
We can directly check the x and y coordinates of the default size, which
avoids any additional noise for the JVM GC.1 parent 8da42cd commit 9751497
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments