C to Assembly: For and While Loop, Structure and Array Access
This optimization really speeds up array indexing in a loop as multiply/shifts are avoided. Code generation for array indexing (optimized) // Effective C Code ABStructure *ptr = &abstructure[0]; for (i=0; i < 100; i++) { ptr->x = 0; . . . ptr++; } ......