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

In that case, on a computer with an instruction cache, you can probably optimize your program by not unrolling the loops that aren't hot. Maybe you can compile those parts of the program with GCC.

Micro-optimizations are in many cases not justifiable, for the reasons Knuth explains in his paper. But sometimes they are.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: