CFFI advantages
davidt99 opened this issue · comments
David Tufik commented
It's a question rather than an issue.
Is CFFI faster than cpython version? If not, what are the advantages of using CFFI version?
ifduyue commented
Hello,
CFFI variant is for PyPy, http://pypy.org/compat.html says PyPy has alpha/beta-level support for the CPython C API, however, this feature is not yet complete. We strongly advise use of CFFI instead. CFFI come builtin with PyPy.
However, I haven't benchmark it, maybe it's faster, maybe not.
David Tufik commented
Thanks for the info