1 Aug
2018
1 Aug
'18
2:37 p.m.
On Wed, Aug 1, 2018 at 7:19 PM, <skrah@bytereef.org> wrote:
CFFI is much slower than CPython's C-API:
https://mail.python.org/pipermail/python-dev/2013-December/130772.html
Woot.
It's a bit unsurprising that CFFI is slower on CPython because it works on top of the C API (so it's an extra layer).
Under PyPy it does better because it's more of a first class citizen.
I think these benchmarks support the general idea that changing the C API does open some doors to better performance (which is why PyPy folks wrote CFFI)?
Schiavo Simon