diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 18:09:50 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-08-29 18:09:50 (GMT) |
commit | e4e9cd4c01b996430232069970eab9579d71d628 (patch) | |
tree | 7fd388f37150a325aa9b17c239bc7a528b3b4913 /Doc/tut | |
parent | 5477f529d6f3b25e51ac6b321a6fe7b28fafe1f4 (diff) | |
download | cpython-e4e9cd4c01b996430232069970eab9579d71d628.zip cpython-e4e9cd4c01b996430232069970eab9579d71d628.tar.gz cpython-e4e9cd4c01b996430232069970eab9579d71d628.tar.bz2 |
Modify name conversion to be (hopefully) a bit more efficient.
Use a dictionary instead of a list to map objects to their offsets in
a const/name tuple of a code object.
XXX The conversion is perhaps incomplete, in that we shouldn't have to
do the list2dict to start.
Diffstat (limited to 'Doc/tut')
0 files changed, 0 insertions, 0 deletions