[Laszlo-dev] Initialization difference between swf and dhtml
P T Withington
ptw at openlaszlo.org
Tue Nov 28 11:23:28 PST 2006
On 2006-11-28, at 14:17 EST, Adam Wolff wrote:
>> On 11/28/06, Max Carlson <max at openlaszlo.org> wrote:
>>> iterating over an array should be faster than for..in anyway.
> Not true in SWF at least. For...in puts all of the keys on the
> stack which
> is significantly faster.
Picking up from IRC, I think what is intuitive to the programmer is
that the attributes of a class should be init-ed in the lexical order
they are defined, and all the attributes of the superclass(es) are
inited before any of the inits of the class are computed.
More information about the Laszlo-dev