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

Then tell your compiler to inline it - but don't bother doing it until you have measured it to actually have a measureable impact. Readability and rewriteability dominate that kind of unguided microoptimizations you seem to like all the time.

That doesn't mean to abstract for the sake of abstraction but to choose the right abstraction. Writing code so that it is easy to reach the right abstraction helps a lot.



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

Search: