[Python-checkins] r46709 - python/trunk/Doc/whatsnew/whatsnew25.tex

andrew.kuchling python-checkins at python.org
Wed Jun 7 19:03:46 CEST 2006


Author: andrew.kuchling
Date: Wed Jun 7 19:03:46 2006
New Revision: 46709
Modified:
 python/trunk/Doc/whatsnew/whatsnew25.tex
Log:
Add an item; also, escape %
Modified: python/trunk/Doc/whatsnew/whatsnew25.tex
==============================================================================
--- python/trunk/Doc/whatsnew/whatsnew25.tex	(original)
+++ python/trunk/Doc/whatsnew/whatsnew25.tex	Wed Jun 7 19:03:46 2006
@@ -1186,6 +1186,11 @@
 representation, yielding a 20\% speedup. (Contributed by Bob Ippolito
 at the NeedForSpeed sprint.)
 
+\item The \module{re} module got a 1 or 2\% speedup by switching to 
+Python's allocator functions instead of the system's 
+\cfunction{malloc()} and \cfunction{free()}.
+(Contributed by Jack Diederich at the NeedForSpeed sprint.)
+
 \item The code generator's peephole optimizer now performs
 simple constant folding in expressions. If you write something like
 \code{a = 2+3}, the code generator will do the arithmetic and produce
@@ -1927,7 +1932,7 @@
 placeholder wherever you want to use a value, and then provide a tuple
 of values as the second argument to the cursor's \method{execute()}
 method. (Other database modules may use a different placeholder,
-such as \samp{%s} or \samp{:1}.) For example:
+such as \samp{\%s} or \samp{:1}.) For example:
 
 \begin{verbatim} 
 # Never do this -- insecure!


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /