Static Types: Cutting Python Object Conversion Overhead

By leveraging static type declarations, Cython eliminates the need for expensive runtime type checking and the creation/destruction of temporary Python objects when passing data to and from C functions, a primary source of wrapper overhead and latency in standard Python.

Sources

Open the full topic