[Python-Dev] Register-based VM [Was: Possible performance regression]

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 27 00:09:57 EST 2019


Victor Stinner wrote:
> Using a different register may require an explicit "CLEAR_REG R1"
> (decref the reference to the builtin range function) which is less
> efficient.

Maybe the source operand fields of the bytecodes could
have a flag indicating whether to clear the register
after use.

-- 
Greg


More information about the Python-Dev mailing list