CPython Makes Python Calls Fast with Vectorcall
Vectorcall replaces the per-call tuple and dict with a plain C array plus a kwnames tuple, and the ARGUMENTS_OFFSET flag makes bound methods allocation-free.
Vectorcall replaces the per-call tuple and dict with a plain C array plus a kwnames tuple, and the ARGUMENTS_OFFSET flag makes bound methods allocation-free.