gdiplus: Improve performance of units_to_pixels by not using division.
Single float division (divss) is at least four time slower,
than multiplication (mulss).
More information: https://www.agner.org/optimize/instruction_tables.pdf
The units_to_pixels was optimized to use only multiplication (mulss),
and avoid using divisions (divss).
Showing
Please
register
or
sign in
to comment