Suppose I have a function in C/C++ which is called quite frequently (let's say it's connect to a timer which is timeout at least 10 times per second) and that function needs to use a given variable/container (an integer or maybe a string or an array). Now, naturally enough, the process of creating this variable in memory costs some processor clocks; running the same function again and again therefore means I'll loose quite some "processor clock ticks" for doing exactly the same thing many times. This could be prevented by either making that variable global, member of the function's class or Suppose I have a function in C/C++ which is cal