Declaring functions with `cdef` makes them pure C functions, eliminating Python call overhead for significantly faster execution (e.g., 80x over pure Python), though they are only callable from Cython/C. `cpdef` creates a fast C version and a slower Python-callable wrapper.