summaryrefslogtreecommitdiffstats
path: root/Include/eval.h
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-18 05:22:06 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-08-18 05:22:06 (GMT)
commit1a7892924fb23f657b63ea085899342f16fad389 (patch)
tree4bfa82fb4191ca6371e7d5f3878ea8abec3dc1da /Include/eval.h
parent9bb1f0592cf71cb639669001c6d7119d7966510d (diff)
downloadcpython-1a7892924fb23f657b63ea085899342f16fad389.zip
cpython-1a7892924fb23f657b63ea085899342f16fad389.tar.gz
cpython-1a7892924fb23f657b63ea085899342f16fad389.tar.bz2
Move the bytecode optimizer upstream so that its results are saved in pyc
files and not re-optimized upon import. Saves a bit of startup time while still remaining decoupled from the rest of the compiler. As a side benefit, handcoded bytecode is not run through the optimizer when new code objects are created. Hopefully, a handcoder has already created exactly what they want to have run. (Idea suggested by Armin Rigo and Michael Hudson. Initially avoided because of worries about compiler coupling; however, only the nexus point needed to be moved so there won't be a conflict when the AST branch is loaded.)
Diffstat (limited to 'Include/eval.h')
0 files changed, 0 insertions, 0 deletions