[Python-Dev] PEP 576/579/580 benchmark: mistune (original) (raw)

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; PyxPyObjectCallOneArg.

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