paragui-users
[Top][All Lists]
Advanced

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

[paragui-users] 1024 widgets


From: taurus
Subject: [paragui-users] 1024 widgets
Date: Sat, 10 Aug 2002 14:53:05 +0100

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..."






reply via email to

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