summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-05-23 12:44:36 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-05-23 12:44:36 (GMT)
commitc602723e4586a2f4f37ba968800fd1f6e4209b26 (patch)
tree93620b0320ee98b86b4e22ddc7182f97bdf08f93 /Doc
parentb02daf794b9be0041dc39207f18211ec8321ec77 (diff)
downloadcpython-c602723e4586a2f4f37ba968800fd1f6e4209b26.zip
cpython-c602723e4586a2f4f37ba968800fd1f6e4209b26.tar.gz
cpython-c602723e4586a2f4f37ba968800fd1f6e4209b26.tar.bz2
Add some items; mention the sprint
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/whatsnew25.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index 7b1c8f0..7ed9f85 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -1120,6 +1120,13 @@ interpreter as they expect. (Implemented by Georg Brandl.)
%======================================================================
\subsection{Optimizations\label{opts}}
+Several of the optimizations were developed at the NeedForSpeed
+sprint, an event held in Reykjavik, Iceland, from May 21--28 2006.
+The sprint focused on speed enhancements to the CPython implementation
+and was funded by EWT LLC with local support from CCP Games. Those
+optimizations added at this sprint are specially marked in the
+following list.
+
\begin{itemize}
\item When they were introduced
@@ -1138,6 +1145,13 @@ simple constant folding in expressions. If you write something like
\code{a = 2+3}, the code generator will do the arithmetic and produce
code corresponding to \code{a = 5}.
+\item Function calls are now faster because code objects now keep
+the most recently finished frame (a ``zombie frame'') in an internal
+field of the code object, reusing it the next time the code object is
+invoked. (Original patch by Michael Hudson, modified by Armin Rigo
+and Richard Jones; committed at the NeedForSpeed sprint.)
+% Patch 876206
+
\end{itemize}
The net result of the 2.5 optimizations is that Python 2.5 runs the
@@ -1935,6 +1949,10 @@ string of build information like this:
\code{"trunk:45355:45356M, Apr 13 2006, 07:42:19"}.
(Contributed by Barry Warsaw.)
+\item \cfunction{PyErr_NewException(\var{name}, \var{base},
+\var{dict})} can now accept a tuple of base classes as its \var{base}
+argument. (Contributed by Georg Brandl.)
+
\item The CPython interpreter is still written in C, but
the code can now be compiled with a {\Cpp} compiler without errors.
(Implemented by Anthony Baxter, Martin von~L\"owis, Skip Montanaro.)