On Fri, Jun 13, 2008 at 1:07 PM, Jose Gonzalez <[EMAIL PROTECTED]> wrote: >>>>> I agree with Jose, the think we need is just the ability to add objects >>>>> from script... why instad do a simple function that create new parts? >>>>> maybe >>>>> taken from another group in the same file, and then do some bindings to >>>>> basic evas functions like move, resize, etc. In this way you can create >>>>> objects in the editor and then manipulate the objects from the script, >>>>> don't forget we have functions to manipulate every object properties in >>>>> Edje_Edit.c >>>>> >>>>> And don't forget that the power of flash is that you can design ;) >>>>> >>>>> Your way is powerfull, but IMO is out of the scope of edje. >>>>> PS: if you want to do games in pure edje you must first find a way to >>>>> store >>>>> the highscore on disk, a game can't exist without highscore :) >>>>> >>>>> Dave >>>>> >>>>> >>>> the problem is - if i do this with the current way embryo works with edje, >>>> it will be much higher overhead. every call in and out of embryo creates >>>> and >>>> destroys a vm. it retains no state. so every resize, move etc. etc is going >>>> to start to get very heavy. as i said - you can still use existing edje >>>> "design" - >>>> >>> Then maybe the current implementation needs to be redone, if possible, >>> so as not to have this kind of 'overhead'...? >>> >> >> we remove that overhead, and we replace it with another - always having to >> keep >> a vm around... :) even if the script sections are called very little. >> >> so no matter where you look you pay a price. you want to make sure you pay >> the >> right price for the right thing. :) >> > > Seems better to have it around if there's any kind of scripting done, > than constant instances per call... but you could always use some sort of > "hasn't-been-used-in-a-while" thing as well.
Just thinking about that stuff why didn't we start a vm the first time we need it, and keep it around as long as we are busy and destroy it when presure on the system is lower ? Like we do for some evas cache. -- Cedric BAIL ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
