My main tip would be to turn on optimisation and look at the output of the compiler to see what code it generates. There is a lot of "folklore" around optimisation which either was true once but isn't now or never was true anyway. There are a lot of special cases which depend on the specific target and compiler implementation. It's best not to rely on second hand info or make assumptions about what the compiler will do.
I have never heard signed variables are faster, what makes you think that?
To look at the assembler output use the Debugger "mixed" view, or turn on the option to generate assembler.
Cheers
Message Edited by bobc on
2009-02-17 12:20 PM