Hello!

I am using a qx.ui.form.List widget in an application and fill it with a
lot of entries (around 800). Calling removeAll() on it causes the
browser to work for a long time so I got curious on what it did. I
profiled the code using FireBug's Profiler and found out, that calling
removeAll() on that List resulted in almost 2 million other calls being
made. In [1] you find the almost complete output of the profiler.

Am I doing something wrong or is the List widget simply not made to
handle such a large set of data? It just seems to me that calling
"removeAll()" shouldn't be all that hard to do and should not result in
almost 2 million calls being made that take 14 seconds on a decent machine.

Right now I am doing a workaround by simply removing the List widget and
creating a new one. But this, of course, is not very nice.

Thanks for any hints on what I might doing wrong here.

-- Sascha Häberling


[1] http://www.haeberling.de/downloads/2del/qooxdooListRemoveAll.jpg

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to