Commit d9834599 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Add string concat item

parent 1b3a2f61
...@@ -815,6 +815,13 @@ the name \samp{None} is now a syntax error. ...@@ -815,6 +815,13 @@ the name \samp{None} is now a syntax error.
the generated bytecode for list comprehensions and speeds them up the generated bytecode for list comprehensions and speeds them up
by about a third. by about a third.
\item String concatenations in statements of the form \code{s = s +
"abc"} and \code{s += "abc"} are now performed more efficiently in
certain circumstances. This optimization won't be present in other
Python implementations such as Jython, so you shouldn't rely on it;
using the \method{join()} method of strings is still recommended when
you want to efficiently glue a large number of strings together.
\end{itemize} \end{itemize}
The net result of the 2.4 optimizations is that Python 2.4 runs the The net result of the 2.4 optimizations is that Python 2.4 runs the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment