[Laszlo-dev] Need your thoughts on [#LPP-8351] SWF9: improvement destroy-time for sprite - OpenLaszlo Jira

P T Withington ptw at pobox.com
Wed Jul 29 15:12:51 PDT 2009


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)


More information about the Laszlo-dev mailing list