Take the following two lines of code:
for (int i = 0; i < some_vector.size(); i++) { //do stuff }
And this:
for (som
Indexing requires an extra mul operation. For example, for vector v, the compiler converts v[i] into &v + sizeof(int) * i.
mul
vector v
v[i]
&v + sizeof(int) * i