paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [paragui-users] 1024 widgets


From: taurus
Subject: Re[2]: [paragui-users] 1024 widgets
Date: Sat, 10 Aug 2002 16:26:34 +0100

Hello Andrew,

Saturday, August 10, 2002, 4:15:18 PM, you wrote:

AF>     If I recall correctly, Alex was able to do this
AF> fine on a celeron 375, without much slowdown.
AF> You
AF> were getting 17 seconds that time?  

If *all* widgets have NULL parent - I fly very fast on my P4 :)
But if they have a parent - 17-20 secs for sure...on P4.... %I

AF>     I'll add it to my list of things to look at :)

Fine! Thanx.
If it will be soon, it will be very nice! :P

AF> Andrew

AF> --- taurus <address@hidden> wrote:
>> Hello paragui,
>> 
>>   Question to the ParaGui developers:
>> 
>>   Do you remember my question about 1024 widgets in
>> application?
>>   I`ve profiled the function, where they are inited
>> and found smth
>>   interesting: the *most* slow part is AddChild() in
>> parent PG_Widget
>>   class.
>> 
>>   To try it, create one big widget-holder, then 1024
>> widgets like
>> 
>>   PG_Widget parent(NULL, PG_Rect(...));
>>   for (int i=0; i < 1024; i++)
>>     wlist[i] =  new PG_Widget(parent, PG_Rect(...));
>>   parent.Show();
>> 
>> 
>>   Is there a way to optimize the creation of child
>> widgets inside
>>   ParaGui?
>> 
>>   Thank you!
>>   
>> Kind regards,
>>        taurus                          
>> 
>> address@hidden
>> 
>>  ->> "If you will have a megaphone, you will never
>> have to be alone..."
>> 
>> 
>> 
>> 
>> _______________________________________________
>> paragui-users mailing list
>> address@hidden
>>
AF> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users


AF> __________________________________________________
AF> Do You Yahoo!?
AF> HotJobs - Search Thousands of New Jobs
AF> http://www.hotjobs.com


AF> _______________________________________________
AF> paragui-users mailing list
AF> address@hidden
AF> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users




Kind regards,
       taurus                          

address@hidden

 ->> "If you will have a megaphone, you will never have to be alone..."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]