Skip to content

Commit 1585d2b

Browse files
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

File tree

0 commit comments

Comments
 (0)