```cpp for (uint16_t i = 0; i < *size; ++i) { // some code here } ``` The value of size is read for each conditional test, which also prevents possible vectorization.