Turn off all filters. If an initialize method is taking a long time, it is
probably because it is creating a lot of child objects. Use states,
navigators and modules to only create stuff as it is needed.
Ok thanks, but what is MethodClosure? And is it normal that enterFrameEvent is taking up so much time?
1 person found this helpful
I believe that a MethodClosure represents a reference to a method in a
EnterFrameEvent is expected to take a long time since components get
validated in both EnterFrame and Render events.
> I believe that a MethodClosure represents a reference to a method in a class.
After quite a bit of googling, this is the best/only explanation I've found for MethodClosure.
But it says "I believe..." which doesn't inspire great confidence. Can someone from Adobe confirm that this is correct?
That is correct.
It is only bad to have a lot of calls to anything if it eats up too much processor time.