On Wed, Aug 1, 2018 at 7:19 PM, email@example.com wrote:
CFFI is much slower than CPython's C-API:
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)?