Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d9834599
Commit
d9834599
authored
Aug 07, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add string concat item
parent
1b3a2f61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+7
-0
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
d9834599
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment