Say I have a function runs a coupla 1000 times.
Would it increase the speed if i declared the variables in that function as static and simply re-initialized their values myself every time?
I mean, it would avoid having to allocate/deallocate the variables every time the function runs... or perhaps I have the wrong idea of how static variables work??