Memory model in new Animator classes

2009-10-21 Thread Adenilson Cavalcanti
Dear Mehmet Thanks for commenting I will try to address the questions. > > If you think about the use cases, I don't think we'll ever > see thousands or > even hundreds of animations running at the same time. I > don't think the > memory savings is significant at all in this situation > anyway,

Re: Memory model in new Animator classes

2009-10-20 Thread Akmanalp, Mehmet A
On Mon, Oct 19, 2009 at 9:21 AM, Adenilson Cavalcanti wrote: > > The only problem is that internally it will create all the animation > objects and later destroy them *every* single time that the animation runs. > This design saves memory (or not, read more about it below) but probably is > expensi

Re: Memory model in new Animator classes

2009-10-19 Thread Artur Souza (MoRpHeUz)
On Monday 19 October 2009, 10:21 Adenilson Cavalcanti wrote: > I'm planning to work on it this week but I would appreciate comments, ideas > and user cases about it before writing the code. I'm not sure how the Plasma layer is dealing with this, but probably it would not be a good idea to delete

Memory model in new Animator classes

2009-10-19 Thread Adenilson Cavalcanti
Friends I'm writing to ask for ideas concerning the new plasma::Animator based on Qt 4.6 animation api. The current design works like this: - create the animation object - set the animated widget - add the animation to an animation group (multiple animation objects are allowed as also the group