Hi,

when trying

   http://demo.qooxdoo.org/current/demobrowser/#data~SearchAsYouType.html

and changing the code to use an array of 600 elements instead of the 60
elements in the example, the code runs VERY slowly.

It seems, that both

       var rawData = [];
       for (var i = 0; i < 600 i++) {
         rawData.push(names[i % 10] + " " + i);
       }

and

      var data = new qx.data.Array(rawData);

are painfully slow.

BTW, it seems that

       var rawData = new Array(600);
       for (var i = 0; i < 600 i++) {
         rawData.push(names[i % 10] + " " + i);
       }

seems a lot faster then the example code in the demobrowser.


So, is there anything I can do to improve the performance in this example
for larger arrays?

Thanks,
Fritz

-- 
Oetiker+Partner AG              tel: +41 62 775 99 03 (direct)
Fritz Zaucker                        +41 62 775 99 00 (switch board)
Aarweg 15                            +41 79 675 06 30 (mobile)
CH-4600 Olten                   fax: +41 62 775 99 05
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to