Reputation
206
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 3
Newest
 Yearling
Impact
~5k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
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.