incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Compiler optimization for getter/setter
Date Sun, 15 Jan 2012 06:59:26 GMT



On 1/14/12 12:32 PM, "Tink" <flex@tink.ws> wrote:

> If you don't specify a custom event (which IMO is lazy), it still
> shouldn't run all the getters, as when the PropertyChangeEvent is
> caught, the value of 'event.property' is checked. If the string
> matches the name of the property that the code it interested in, the
> getter is invoked, if not, nothing happens (i.e. it doesn't force all
> the getters to be re-evaluated).
True, unless the handler is inefficiently written, but even then, the
handler is pounded an awful lot and it would be nice to optimize that a bit.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message