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

I agree if you know, e.g., that the list is going to contain thousands of items or is going to be iterated over in your inner loop. That's not premature optimization, that's just common sense. Hence the qualifier "premature".


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

Search: