On 18 October 2011 13:45, David Bruant <[email protected]> wrote:
> Another alternative would be to do natively what we've been doing in code
> which is that when a call is trapped, instead of using the handler, an new
> object is created. This object inherits from the handler and has at the own
> layer the 3 properties. If another trap is traversed, another object is
> created, etc. (this is of course in theory. Engines are free to optimize).

Unfortunately, they aren't, because the difference is observable, due
to unpleasant features like object identity.

/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to