commit | a2ace6ae2522a61e534d15d80020c100e131d499 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 28 16:42:25 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 28 16:42:25 2000 +0000 |
tree | 80a609687f930a80bbc92f4fed84abdb2e40bbd6 | |
parent | 3c3507fd4fad44d9497c9abfe20ce67d96773f87 [diff] |
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.