Fritz!

a) For the .length function it does not have any relevance, of course.

Conclusion: still possible to save execution time by simple refactoring of code

b) For the loops there is a slight difference:

Four subtests:
1. empty
2. var y = 100 * 99;
3. one math function: square root
4. call to outside function: callme();

Conclusion: 1 and 2 no significant difference, though a difference. 3 longer 
relatively increase of execution time and 4 even more. It seems to be 
increasing by more complicated code; stack issue??? There was a correction for 
the execution time of the code inside the loop as it was run outside the loop.

More lines inside loop -> more complicated and tendency to relatively increase 
execution time.

Stefan
                                          
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to