• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Add additional optional argument to Matrix.transformPoint(point:Point):Point function

Engaged ,
May 05, 2019 May 05, 2019

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

TOPICS
Development

Views

358

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 06, 2019 May 06, 2019

Copy link to clipboard

Copied

That method will never be changed but you can always write your own.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 06, 2019 May 06, 2019

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 06, 2019 May 06, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines