If you use Int32 in those places where you know that the value will not be higher than 32,767?
I would like to keep the memory down, hoever, using casts everywhere, just to perform simple arithmetic becomes annoying.
short a = 1;
short result = a + 1;
short result = (short)(a + 1);
What would be better for overall application performance?
source
share