Add string concat item

This commit is contained in:
Andrew M. Kuchling 2004-08-07 13:13:31 +00:00
parent 654fcd531e
commit ac6428756a
1 changed files with 7 additions and 0 deletions

View File

@ -815,6 +815,13 @@ the name \samp{None} is now a syntax error.
the generated bytecode for list comprehensions and speeds them up
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}
The net result of the 2.4 optimizations is that Python 2.4 runs the