I am doing some performance/memory cleanup in my rather large
application and looking to reduce the number of eventListeners and
changeWatchers I have and was curious about this:

say I have some function 

 

function myFunc():String;

 

that I data bind to an mx:Label's property label="{myFunc()}"

 

I know this is a softbinding that is only udpated once, but is a
ChangeWatcher created in this scenario?

 

What about this one

label="{myFunc(this.myBindableVar)}"

 

Is there now a ChangeWatcher on myBindableVar?

 

 

In general is it more efficient to use the
invalidateProperties/commitProperties pattern instead of dataBinding
when applicable, for the simple cases of binding to local properties?

 

-Christopher

 

 

Reply via email to