2 ms·
> then the problem is with the program's structure ....or with the choice of the programming language. Some styles goes better together with some programming l
by srean 12y ago
> then the problem is with the program's structure
....or with the choice of the programming language. Some styles goes better together with some programming languages. CPython is possibly the worst offender in terms of function call overhead, amplified further by its lack of inlining / macro capabilities.
PyPy makes it better, but were they ever fighting an uphill task !
Python, on retrospect, seems to have been designed almost as a snarky challenge thrown at someone: "You think you are too smart, do you ? Let me see how you can make this go fast. No I want elide tail calls".