Home Optimizing a function for either a pointer or a scalar
 I have a complicated program that I am trying to optimize. After some testing I isolated a function that looks as follows: void sum(int* res, int* a, int* b, int size){ for (int i=0;i