On many posts on Stackoverflow people said that using bytes or shorts instead of integers did not reduce the memory usage or CPU utilization. However, if I have an array of bytes or shorts, would that array use less memory and/or be faster to iterate over than a similar array of integers.
To be specific: I'm asking about the primitive type.