Hacker News new | past | comments | ask | show | jobs | submit login

I have thought about this but sometimes I reuse the variables on purpose to reuse the memory allocated, especially in a language like Golang where sometimes it is not that clear whether it will be allocated in the stack or the heap. I guess we should avoid doing this in hot paths, right?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: