I’m not sure where this response went… On Sep 29, 2016, at 9:15 AM, Harbs <harbs.li...@gmail.com> wrote:
> Let’s actually do some profiling so we can see if there’s really an issue. > > Is there really a difference whether you have one object whose size is x+y or > two objects where one size is x and another is y? > > I doubt there’s anywhere close to twice as many function calls. Yes. For > setting native Flash properties there will be double setters and getters, but > that’s not going to be the majority of the code being run and we might be > able to optimize those calls in certain cases if it’s an issue. > > On Sep 29, 2016, at 12:42 AM, Alex Harui <aha...@adobe.com> wrote: > >> I could put the code >> through a profiler, but my understanding is that the refactor creates >> twice as many objects and probably at least twice as many function calls >> at runtime. >