osdir.com


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

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


Let me just say that the code for METH_FASTCALL function/method calls is 
optimized for a stack layout: a piece of the stack is used directly for 
calling METH_FASTCALL functions (without any copying any PyObject* 
pointers). So this would probably be slower with a register-based VM 
(which doesn't imply that it's a bad idea, it's just a single point to 
take into account).