SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 40 Python

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.
R
Raymond Hettinger committed
663004bb3dc8f509f869cab9728e9df516ae10b6
Parent: 9b44571