Hello,
I am trying to optimize or make my code faster and I am not so sure how.
So I have two level nested for loop and inside there, I assign value to the array.
For example,
tmp[0]=*ptr;
tmp[0]=100;
I found out that the second one is faster than the first one and I don't know why.
Is there anyway I can optimize the first one to something that could make my program faster?
Thank you so much,