> > Wow - I didn't reflect on that but it immediately dawns on me. Good
> > point! And good reference, thanks.
> 
> That is a good point. However I am not sure how relevant this is in 
> current python versions. The article is from 2004. Have anybody done 
> tests with current versions of python. In my opinion they have 
> greatly improved the general string performance in recent versions.

I hacked a very rough test in IDLE in Python 2.4 and got a significant (x 8) 
difference when constructing a long string. But it appears that it's fixed in 
Python 2.5 (we can't use that locally because of a dependency on an old 
library) - see 
http://gumuz.looze.net/wordpress/index.php/archives/2004/12/06/python-optimization/

So no need to move to arrays! I guess profile is still your friend - only fix 
the problems shown by profiling, not what you think are the problems.

Hugh

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to