Quote:
Originally Posted by comphappy
Once again we disagree on this point. I think the programmer should always be aware of what is going on in his software especially in embedded systems space and clock cycles are vital, then again this paranoia could stem from my work on drivers in the Linux Kernel.
|
Point taken, though with moores law in effect, processing power is almost expendable and the problem with focusing on assembly optimization is that it will ALWAYS give you a linear return where as algorithmic optimization can often result in exponential returns. Most complex problems will be solved via algorithmic optimization. As computers get faster details like whether you %2 or >>1 won't matter (although even now those are already taken care of for you)
Still, I must agree that with embedded systems where there is extremely limited CPU/Memory that stuff does count.