??? 07/06/05 12:54 Read: times |
#96687 - a general statement on code optimization Responding to: ???'s previous message |
a general statement on code optimization:
I know that this is going to make all the Cnatics cringe but here it is: If you do not know the processor your C will not be optimum. Even the best optimizing compiler can not beat a good programmer e.g. see above case 1,2,3 or case 22,55,11,23 one can be optimized the other (which is so called real C) can not. No, there is no need to globally go back to writing assembler, but that does not mean that you do not need to know it. Erik |