diff options
author | Raymond Hettinger <python@rcn.com> | 2003-01-09 15:24:30 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-01-09 15:24:30 (GMT) |
commit | 663004bb3dc8f509f869cab9728e9df516ae10b6 (patch) | |
tree | 32d9f6898f2879e374a67367187f3d396cd1141c /Parser | |
parent | 9b44571caae9771fb1f6261aaacc4c001701774a (diff) | |
download | cpython-663004bb3dc8f509f869cab9728e9df516ae10b6.zip cpython-663004bb3dc8f509f869cab9728e9df516ae10b6.tar.gz cpython-663004bb3dc8f509f869cab9728e9df516ae10b6.tar.bz2 |
SF patch #664320: Replace push/pop clusters in ceval.c
Replaced groups of pushes and pops with indexed access to the stack and
a single adjustment (if needed) to the stacklevel.
Avoids scores of unnecessary increments and decrements to the stackpointer.
Removes unnecessary sequential dependencies so that the compiler has more
freedom for optimizations. Frees the processor for more parallel and
pipelined execution by using mostly read-only access and having few pointer
adjustments just prior to a read or write.
Diffstat (limited to 'Parser')
0 files changed, 0 insertions, 0 deletions