Counting iterations

runes rune.strand at gmail.com
Sat Apr 9 12:39:04 EDT 2005


You should avoid the "a" + "b" + "c" -kind of concatenation. As strings
at immutable in Python you actually makes copies all the time and it's
slow!

The alternative used in Steven Bethard's example is preferable.




More information about the Python-list mailing list