`cpdef` functions generate two versions: a fast C-callable function for internal Cython/C calls and a Python-callable wrapper, enabling seamless invocation from both native C and Python codebases.
Open the full topic