re: Help me with points to be considered while coding to avoid execution overhead in Python VIEW POST

VIEW FULL DISCUSSION
 

If you're really concerned about it, the answer is simple: don't write in Python. There are many languages that are better suited to "avoiding execution overhead". It was never a design goal for Python, it was designed with completely different goals in mind.

 

I am willing to know, could you enlighten me with those goals please

 

In a nutshell: Python was designed to be executable pseudocode. That is, a tool for explaining algorithms. You don't "avoid execution overhead" in pseudocode, do you? :-) What you can do, is study the complexity of algorithms, but that's completely orthogonal.

code of conduct - report abuse