I have read that arithmetic operations using unsigned int are faster that int, so I wrote my program to use them where I could. The problem is that I need a few signed int vars, and those vars make arithmetics operations with the unsigned int vars, so a cast is doing.
My questions is:
is it better for speed to have signed and unsigned int vars and use them together or would be better to only have signed int, so that no cast is done?
thx in advance