[Python-Dev] On the METH_FASTCALL calling convention

Jeroen Demeyer J.Demeyer at UGent.be
Sun Jul 8 03:07:06 EDT 2018


On 2018-07-07 10:55, Serhiy Storchaka wrote:
> The first part of
> handling arguments can be made outside of the C function, by the calling
> API.

Sure, it could be done but I don't see the advantage. I don't think you 
will gain performance because you are just moving code from one place to 
another. And how do you plan to deal with *args and **kwds in your 
proposal? You'll need to make sure that this doesn't become slower.


More information about the Python-Dev mailing list