ctypes operates by dynamically loading shared libraries and wrapping C functions, incurring runtime overhead from data marshaling (converting Python types to C types and vice-versa) and the underlying Foreign Function Interface (FFI) layer. This dynamic invocation can introduce a call overhead of around 150-160 nanoseconds per function call, significantly higher than direct C stub calls, which might be as low as 8 nanoseconds.