[Python-Dev] Register-based VM [Was: Possible performance regression]
Jeroen Demeyer
J.Demeyer at UGent.be
Tue Feb 26 16:53:44 EST 2019
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).
More information about the Python-Dev
mailing list