[Python-Dev] PEP 576/579/580 benchmark: mistune

Jeroen Demeyer J.Demeyer at UGent.be
Mon Jul 30 08:50:30 EDT 2018

On 2018-07-30 13:11, INADA Naoki wrote:
> Like previous SageMath bench, this is caused by Cython's
> specialization; __Pyx_PyObject_CallOneArg.
> It specializing calling PyFunction and PyCFunction, but it doesn't
> specialized for calling CyFunction.

Yes, I saw that too. But this is exactly what CPython does (it optimizes 
PyFunction and PyCFunction but not CyFunction), so I would still argue 
that the benchmark is fair.

More information about the Python-Dev mailing list