Python Function Call Overhead: 50-150ns vs. C's 5ns

Python function calls typically incur an overhead of 50-150 nanoseconds per call, largely due to dynamic typing and extensive object management, making them significantly slower than direct C function calls which can be as low as 5.5 nanoseconds.

Sources

Open the full topic