[Python-Dev] PEP for Better Control of Nested Lexical Scopes
greg.ewing at canterbury.ac.nz
Wed Feb 22 08:54:45 CET 2006
Josiah Carlson wrote:
> In this particular example, there is no net reduction in line use. The
> execution speed of your algorithm would be reduced due to function
> calling overhead.
If there were more uses of the function, the line count
reduction would be greater.
In any case, line count and execution speed aren't the
only issues -- there is DRY to consider.
More information about the Python-Dev