[issue2262] Helping the compiler avoid memory references in PyEval_EvalFrameEx

Neal Norwitz report at bugs.python.org
Sun Mar 9 19:45:43 CET 2008


Neal Norwitz <nnorwitz at gmail.com> added the comment:

I bet with just a little more work, you could get rid of t and stream. 
t is only used for a single set of opcodes (STORE_SLICE+n).  stream is
only used for the PRINT opcodes.  The code in print could be moved to a
function which might allow the compiler to do a better job.  I'll
benchmark this later on amd64 and amd x86 linux boxes.  Maybe mac ppc g4
if I'm adventurous. :-)

----------
nosy: +nnorwitz

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2262>
__________________________________


More information about the Python-bugs-list mailing list