[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] 1024 widgets
From: |
Andrew Ford |
Subject: |
Re: [paragui-users] 1024 widgets |
Date: |
Sat, 10 Aug 2002 08:15:18 -0700 (PDT) |
If I recall correctly, Alex was able to do this
fine on a celeron 375, without much slowdown. You
were getting 17 seconds that time?
I'll add it to my list of things to look at :)
Andrew
--- 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
>
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com