206 reputation
13
bio website josericardo.eti.br
location Campo Grande, Brazil
age 29
visits member for 2 years, 8 months
seen Nov 11 at 12:57

Computer Scientist, interested in solving problems using the right tool for the job.


Jul
10
comment When to use python function nesting?
About the "additional runtime cost": I haven't extensively tested it, but some months ago I profiled a code that ran faster when I used a nested function. Finding the nested function may be faster because it's stored in the local scope.