3 ms·
> relatively common operation of computing the address of a field of a struct in an array This is only relatively common inside loops. Inside loops you will us
by tom_mellior 6y ago
> relatively common operation of computing the address of a field of a struct in an array
This is only relatively common inside loops. Inside loops you will usually index with the loop counter or some other value that is derived from it linearly. Compilers will typically use induction variable arithmetic that doesn't involve multiplication.