Original Post
Is there any reason to use an int or long instead of a byte (UDT - unsigned char) when I know that the value contained won''t be greater than 100? Is there a specific speed increase with either?
Normally for variables that will only be needed to hold small values I just use a byte:
typedef unsigned char byte;
byte byNumberOfSurfs;
I just figured using the variable type that would take the smallest amount of memory was the way to go.