osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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