diff options
author | Guido van Rossum <guido@python.org> | 2000-04-28 16:42:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-28 16:42:25 (GMT) |
commit | a2ace6ae2522a61e534d15d80020c100e131d499 (patch) | |
tree | 80a609687f930a80bbc92f4fed84abdb2e40bbd6 /Lib/whichdb.py | |
parent | 3c3507fd4fad44d9497c9abfe20ce67d96773f87 (diff) | |
download | cpython-a2ace6ae2522a61e534d15d80020c100e131d499.zip cpython-a2ace6ae2522a61e534d15d80020c100e131d499.tar.gz cpython-a2ace6ae2522a61e534d15d80020c100e131d499.tar.bz2 |
Charles G Waldman:
Follow a suggestion in an /*XXX*/ comment [in com_add()] to speed up
compilation by using supplemental dictionaries to keep track of names
and constants, eliminating quadratic behavior. With this patch in
place, the time to import a 5000-line file with lots of constants [at
the global level] is reduced from 20 seconds to under 3 on my system.
Diffstat (limited to 'Lib/whichdb.py')
0 files changed, 0 insertions, 0 deletions