title: Time difference in compilation?
body: <p>I have two c++ programs named example.cpp (takes two numbers and outputs their sum) in two directories: <code>my home directory</code> and inside a folder in <code>var/www/myfolder</code>.</p>
  
  <p>When I run the following command <code>g++ example.cpp</code> (command line) in both directories the time differs.
  In the first case it takes <code>0.5sec</code> and in the second <code>0.072 sec</code>. Why so much difference??</p>
  
  <p>I am using ubuntu 12.04.</p>