]> granicus.if.org Git - python/commit
Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching
authorJeffrey Yasskin <jyasskin@gmail.com>
Wed, 3 Dec 2008 06:46:45 +0000 (06:46 +0000)
committerJeffrey Yasskin <jyasskin@gmail.com>
Wed, 3 Dec 2008 06:46:45 +0000 (06:46 +0000)
commitfd8a1ec4863b8a53436dd45fd190b2fe3ac4b2a8
treef42ad19c70d7f31b2c60c934b37ac1065f7c7d79
parentdee3c9c6065d201b0ffcfaa6372f75a3dee33383
Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching
whether any thread has tracing turned on, which saves one load instruction in
the fast_next_opcode path in PyEval_EvalFrameEx().  See issue 4477.
Python/ceval.c