HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by proemeth | Hacker News Reader
Full thread
proemeth
·
What about loop variables? Want to re-allocate them at each step?
View on HN
crux_
·
Yes, please!
Signed, foldl
nradov
·
I make variables inside loops final. The compiler should automatically handle that and avoid unnecessary re-allocation.
j_baker
·
Chances are a few (or probably even a lot of) temporary references aren't going to be that big a deal.
Reply on news.ycombinator.com