C
Clemens Lode
Hello!
Is it worth to use a[x] instead of b[y][x] (with a=&(b[y][0]) ?
a is const int*, b is const int.
y is a static int and does only change once (at the beginning of the
program).
That would be one less memory access and thus faster, right?
Thanks
Clemens
Is it worth to use a[x] instead of b[y][x] (with a=&(b[y][0]) ?
a is const int*, b is const int.
y is a static int and does only change once (at the beginning of the
program).
That would be one less memory access and thus faster, right?
Thanks
Clemens