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.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.