I need to iterate over an array with 25,000 items at most.
Does using an iterator of type unsigned short (instead of int) lead to any improvement, such as faster run times, less memory, or more readability?
(I know that 25,000 is not "much" in terms of programming - but I still want to be as efficient as possible).
The question is translated so that, assuming I have
#define SIZE 25000
Is
for (int i = 0; i < SIZE; i++)
any better than
for (unsigned short i = 0; i < SIZE; i++)