summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-03-18 09:48:12 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-03-18 09:48:12 (GMT)
commitade08ea8a87ee7130eff930f047abad9e1ec3d84 (patch)
tree62250030bfae4c977fca0fc15110a30a806ef8ed /Doc
parent0ce6dc85300050356dfa127d741e80fdc9ad987a (diff)
downloadcpython-ade08ea8a87ee7130eff930f047abad9e1ec3d84.zip
cpython-ade08ea8a87ee7130eff930f047abad9e1ec3d84.tar.gz
cpython-ade08ea8a87ee7130eff930f047abad9e1ec3d84.tar.bz2
Add news entries for the dictionary optimizations.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/whatsnew24.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex
index 1607cc7..b743a5c 100644
--- a/Doc/whatsnew/whatsnew24.tex
+++ b/Doc/whatsnew/whatsnew24.tex
@@ -264,7 +264,10 @@ yellow 5
\begin{itemize}
\item The inner loops for \class{list} and \class{tuple} slicing
- were optimized and now run about one-third faster.
+ were optimized and now run about one-third faster. The inner
+ loops were also optimized for \class{dict} with performance
+ boosts to \method{keys()}, \method{values()}, \method{items()},
+\method{\iterkeys()}, \method{\itervalues()}, and \method{iteritems()}.
\item The machinery for growing and shrinking lists was optimized
for speed and for space efficiency. Small lists (under eight elements)