Supposed I do the following:
b= b + a;
, where b is a long long variable and a is an int variable
Will the compiler do any type casting which is expensive? Does this depend on the compiler?
Should I initially declare "a" as a long long to improve the speed? In my situation, always speed over memory and I am using gcc .
Thanks.