Definitely use a pool. The creation of new widgets is very cost-y.
The general recommendation, If you can, is always reuse widgets.
On Wed, Mar 9, 2011 at 5:54 PM, John de la Garza <[email protected]> wrote:
> I have a tabView with a page that has several progress bars
>
> I have a timer that runs every two seconds and gets data via rpc to
> update the prg bars
>
> sometimes I'll have new prog bars, some will be removed, and others only
> updated
>
>
>
> I'm wondering if I should destroy the qx.ui.indicator.ProgressBar
> objects when I am done with them, or if I should save them in a pool
> so I don't have to go through destroying and constructing them.
>
> Any ideas?
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel