title: Performance of built-in types : char vs short vs int vs. float vs. double
body: <p>Seeing Alexandre C's <a href="https://stackoverflow.com/questions/5069319/predefinition-of-often-used-values-in-computations-does-it-change-anything/5069349#5069349">reply</a> in the other topic, I'm curious to know that if there is any performance difference with the built-in types:</p>
  <blockquote>
  <p><code>char</code> vs <code>short</code> vs <code>int</code> vs. <code>float</code>
  vs. <code>double</code>.</p>
  </blockquote>
  <p>Usually we don't consider such performance difference (if any) in our real life projects, but I would like to know this for educational purpose. The general questions can be asked is:</p>
  <ul>
  <li><p>Is there any performance difference between integral arithmetics and floating-point arithmetic?</p>
  </li>
  <li><p>Which is faster? What is the reason for being faster? Please explain this.</p>
  </li>
  </ul>