title: C function code length VS processor cache
body: <p>As C is procedure oriented language, while working with C, I always end up with sequential code, running from top to bottom as one or few C functions.</p>
  
  <p>Sometime, I code functions of 1000 lines. Because I think function calls has overhead. While this doesn't duplicate code, I can say I duplicate less than 5% code in long functions.</p>
  
  <p>So, what are effects of long functions over processor cache? Will long functions prevent from better CPU cache usage? Does CPU caches works like caching whole C function? If processor cache doesn't like long functions, then will it be more efficient to have function calls?</p>