|location||Campo Grande, Brazil|
|visits||member for||3 years, 2 months|
|seen||Nov 11 '14 at 12:57|
Computer Scientist, interested in solving problems using the right tool for the job.
|bio||website||josericardo.eti.br||visits||member for||3 years, 2 months|
|location||Campo Grande, Brazil||seen||Nov 11 '14 at 12:57|
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.