Joining strings versus augmented assignment
andy_todd at yahoo.com
Fri Jan 31 14:34:23 CET 2003
In his Linux Journal piece on Quixote
(http://www.linuxjournal.com/article.php?sid=6178) Greg Ward mentions
that when joining a series of strings together it is more efficient to
use "".join(listOfStrings) rather than += (augmented assignment).
I couldn't find any obvious references to this in the documentation or
in this group.
Would anyone care to explain why this is so to a poor ignoramous?
Thanks in advance,
More information about the Python-list