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

> map typically is functional and allocates memory, for does not. But for is more likely to have side-effects.

If / when memory is low, allocating memory can itself be a side-effect...




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

Search: