Copy link to clipboard
Copied
Hi Air team,
Can you please add optional result:Point argument to the Matrix.transformPoint(point:Point😞Point function so that function does not create new Point object every time is called if you pass a Point object as the second argument.
I have one library when that is using Matrix.transformPoint function a lot and it creates so much Point objects that it becomes so slow and unusable because gc is triggered all the time.
Thanks,
Caslav
Copy link to clipboard
Copied
That method will never be changed but you can always write your own.
Copy link to clipboard
Copied
Hi ASWC,
What is the reason for that method to never change with optional argument that will not break backward compatibility?
Regards,
Caslav
Copy link to clipboard
Copied
Cos the AIR team would have to change it not only for AIR but for all platforms, too much work for them. They are working on essential only now.