mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
9de13e37e9
splitTransform func was creating multiple copies of f32.Affine2D due to not having access to the internal and passing around non-pointer. This makes splitTransform from ~8ns to .Split ~2ns. It seems that the non-pointer receiver was ~0.6ns slower in this case. Signed-off-by: Egon Elbre <egonelbre@gmail.com>