Is there speed differences between iterating an array of bools, ints or longs?
<p>I am mainly interested in C# but general answers are welcome too.</p>

<p>Would it take longer to iterate over an array of longs compared to ints? I imagine that the larger value types take up more memory so a contiguous array is obviously longer. But is the hop from Array[0] to Array[1] any different if that gap is 8, 16 or 32 bytes etc?</p>

<p>If it is, would a large struct type (because its by value) take even longer?</p>

<p>Or is traversing an array kinda just memory pointer to memory pointer and the gaps/location of the next item not really relevant?</p>