Is it magic or what ??
- by STRIDER
I am writing a big C code...
The code includes recursive bactracking function named Branch() that is called so much...
My goal is to write the fastest code to get the best running time...
I also have another function Redundant()
void Redundant()
{
int* A;
A=(int*)malloc(100*sizeof(int));
}
I created two versions.
Version A: Redundant() is included in Branch().
Version B: Redundant() is not included in Branch()
A run 10 times faster than B !!!!
Is is Magic or is it kind of process scheduling or what ??