Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't need ownership inside the loop, so using `.iter` is fine. `.iter` is also allows the inner loop to be free from destructors, meaning it will be tighter and (likely) faster.


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

Search: