Split large FFI objects into multiple compilation units for the C compiler
Created originally on Bitbucket by alex_gaynor (Alex Gaynor)
As we've seen with PyPy, if you give GCC a very very large compilation unit of C code, it will take tons of memory to compile. cffi should automatically split up very large FFI objects into multiple compilation units.
This has been reported as a bug to pyca/cryptography (which has hundreds of functions):