On May 22, P T Withington wrote:

> The setters merging would normally only occur in the class
> initialization, right?  So that won't have much impact.  In the LzNode
> constructor when it builds the instance init args from the passed
> attributes and the default attributes, that happens for every instance.
> Copying there would be more overhead.  Not sure I see a way around it.
Me neither, unless we make it so that the class writer has to look in both
a default attrs and a set of instance attrs.
> 
> And can you explain what maskedargs is?  Naively it seems like it is just a
> copy of the instance args.
The idea is to make an alterable copy of instance arguments. In the
replication case, every replicated instance would otherwise share the same
attrs object. It's hard to get class writers to remember (or understand)
this but maybe we'll have to change that.

A
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to