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

If you use += in a loop over a sequence, then you should replace it with a single line of join(), which should be more efficient. Otherwise you’re absolutely right.


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

Search: