I have a struct which holds values that are used as the arguments of a `for` loop:

```
struct ARGS {
    int endValue;
    int step;
    int initValue;
}

```

```
ARGS * arg = ...; //get a pointer to an initialized struct
for (int i = arg->initValue; i < arg->endValue; i+=arg->step) {
    //...
}

```

Since the values of `initValue` and `step` are checked each iteration, would it be faster if I move them to local values before using in the for loop?

```
initValue = arg->initValue;
endValue = arg->endValue;
step = arg->step;

for (int i = initValue; i < endValue; i+=step) {
    //...
}

```