In general, will a lot of small function calls harm performance?
<p>Let's say I need to do three tasks. The first option is like this:</p>

<pre><code>void doAllStuffInOneFunc() {
     //code block for task 1
     ...
     ...
     //code block for task 2
     ...
     ...
     //code block for task 3
     ...
     ...
 }
</code></pre>

<p>Or, the following may be better for readability and maintenance:</p>

<pre><code> void doAllStuffByCallingOtherFuncs() {
      doTask1();
      doTask2();
      doTask3();
}
</code></pre>

<p>What will I pay for the second option?</p>
