Re:Python Patterns - An Optimization Anecdote
by dish on Tuesday November 02, 2010 @07:37AM
(#1860000)
That kind of should be the first train of thought in python too, why using "+" to add strings!? it maybe fixed in py3k but its still not worth it in py2.X
<pre>
return ''.join(map(chr, list))
</pre>
Also the liberal use of the words list and string bothers me.
<pre> return ''.join(map(chr, list)) </pre>
Also the liberal use of the words list and string bothers me.