Y
Hacker News
new
|
ask
|
show
|
jobs
by
WASDx
641 days ago
The closure itself is only being created once, it's essentially a singleton. Only if it would capture variables it would have to be recreated every iteration.