Commit 1585d2b
committed
perf: add tp_vectorcall to all four hash types
Vectorcall bypasses tp_new→tp_init Python-level dispatch,
parsing arguments directly in C. Makes the _parse_fastcall_args
helper accept an input_required parameter so type constructors
can accept optional input while module functions require it.
Type constructor speedup: 41-66% depending on arguments.1 parent b3466b5 commit 1585d2b
1 file changed
Lines changed: 223 additions & 17 deletions
0 commit comments