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

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Feb 26 17:32:33 EST 2019


Victor Stinner wrote:
> LOAD_CONST_REG       R0, 2 (const#2)
> LOAD_GLOBAL_REG      R1, 'range' (name#0)
> CALL_FUNCTION_REG    4, R1, R1, R0, 'n'

Out of curiosity, why is the function being passed twice here?

-- 
Greg


More information about the Python-Dev mailing list