summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_timing.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-08-29 18:08:02 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-08-29 18:08:02 (GMT)
commit5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4 (patch)
treeb9b16d67a12f72d359d44f2a5ae231d1e922af1b /Lib/test/test_timing.py
parent96d68d57bebd8e9d7d1f5bcd00e63df5a0cbc915 (diff)
downloadcpython-5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4.zip
cpython-5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4.tar.gz
cpython-5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4.tar.bz2
Revise implementations of getChildren() and getChildNodes().
Add support for floor division (// and //=) The implementation of getChildren() and getChildNodes() is intended to be faster, because it avoids calling flatten() on every return value. But it's not clear that it is a lot faster, because constructing a tuple with just the right values ends up being slow. (Too many attribute lookups probably.) The ast.txt file is much more complicated, with funny characters at the ends of names (*, &, !) to indicate the types of each child node. The astgen script is also much more complex, making me wonder if it's still useful.
Diffstat (limited to 'Lib/test/test_timing.py')
0 files changed, 0 insertions, 0 deletions