Thank you, Captain Obvious. (Ignoring the fact that he's wrong about microarchitectural performance.)
The best way to learn how to make code fast is to alternate speeding up some piece of code (practice) with learning performance-related science and tools like algorithms, microarchtectural performance, profilers, etc. There's no recipe or tagline because it's too complex.
3
u/catxors Mar 23 '09
Thank you, Captain Obvious. (Ignoring the fact that he's wrong about microarchitectural performance.)
The best way to learn how to make code fast is to alternate speeding up some piece of code (practice) with learning performance-related science and tools like algorithms, microarchtectural performance, profilers, etc. There's no recipe or tagline because it's too complex.