21 Jul
2018
21 Jul
'18
5:07 p.m.
On Sun, Jul 22, 2018 at 1:28 AM Jeroen Demeyer
Hello,
I finally managed to get some real-life benchmarks for why we need a faster C calling protocol (see PEPs 576, 579, 580).
Good job. But I already +1 for adding support for extension callable type. Do you think this benchmark can be optimized more in future optimization which is possible by PEP 580, but not 576?
I should mention that this was done on Python 2.7.15 (SageMath is not yet ported to Python 3) but I see no reason why the conclusions shouldn't be valid for newer Python versions. I used SageMath 8.3.rc1 and Cython 0.28.4.
Do you mean you backport LOAD_METHOD and fastcall to Python 2.7
for benchmarking?
Reproducing it seems hard job to me...
--
INADA Naoki