summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.6.rst
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-15 01:55:32 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-15 01:55:32 (GMT)
commita01ed0305885d57731c0be69c7c0b10200e48535 (patch)
tree7b1877ab479012f587a81b8fd247310c846b842c /Doc/whatsnew/2.6.rst
parent2e463552804d7b43792b942f9fc6ea7c8306577b (diff)
downloadcpython-a01ed0305885d57731c0be69c7c0b10200e48535.zip
cpython-a01ed0305885d57731c0be69c7c0b10200e48535.tar.gz
cpython-a01ed0305885d57731c0be69c7c0b10200e48535.tar.bz2
Repair unfinished sentence
Diffstat (limited to 'Doc/whatsnew/2.6.rst')
-rw-r--r--Doc/whatsnew/2.6.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 50ca2b3..2835dae 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -675,9 +675,11 @@ Optimizations
* Type objects now have a cache of methods that can reduc
the amount of work required to find the correct method implementation
- for a particular class; the interpreter may not need to traverse base
- classes
-
+ for a particular class; once cached, the interpreter doesn't need to
+ traverse base classes to figure out the right method to call.
+ The cache is cleared if a base class or the class itself is modified,
+ so the cache should remain correct even in the face of Python's dynamic
+ nature.
(Original optimization implemented by Armin Rigo, updated for
Python 2.6 by Kevin Jacobs.)