[issue46323] Use _PyObject_Vectorcall in Modules/_ctypes/callbacks.c
hydroflask
report at bugs.python.org
Mon Feb 7 02:05:50 EST 2022
hydroflask <hydroflask at yqxmail.com> added the comment:
Vanilla bench_callback_v2.py, not compiled with mypyc:
$ env/bin/python bench_callback_v2.py
1.114047016017139
$ env2/bin/python bench_callback_v2.py
0.9644024870358407
~13% reduction in runtime. Nice job!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46323>
_______________________________________
More information about the Python-bugs-list
mailing list