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

Minimizing context-switches and exploiting caching sure helps get housework done a lot faster and with less hassle (be it doing the dishes, sweeping the floor, doing laundry, or tidying up the place). Also sort-then-process (which can be n log n if processing is linear) is usually a lot faster than sort-as-you-go (which can easily go to n²).

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact