[Laszlo-dev] Need your thoughts on [#LPP-8351] SWF9: improvement destroy-time for sprite - OpenLaszlo Jira
Max Carlson
max at openlaszlo.org
Wed Jul 29 16:40:45 PDT 2009
Makes sense to me. I'm not sure why you'd want to destroy a sprite/view
and not destroy its children...
P T Withington wrote:
> André has a suggestion that speeds up destroy in swf9. I made a comment
> that this might be a good platform-wide optimization, but it would
> change the contract of LzSprite/destroy. What are your thoughts?
>
>> Perhaps this is a general optimization that should be moved out of the
>> kernel to LzView and make the contract of LzSprite#destroy to destroy
>> the sprite and all its children in the most efficient manner? This
>> would rely on sprites having a 1-1 correspondence to views and sprites
>> being able to find all their children (if their children are not
>> implicitly destroyed, but is that not the case for DHTML too?) The
>> point would be that there would be a simpler contract between the LFC
>> and the kernel, the kernel would not have to look back at the LFC state.
>
> [[#LPP-8351] SWF9: improvement destroy-time for sprite - OpenLaszlo
> Jira](http://jira.openlaszlo.org/jira/browse/LPP-8351)
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list