title: How deep do compilers inline functions?
body: <p>Say I have some functions, each of about two simple lines of code, and they call each other like this: <code>A</code> calls <code>B</code> calls <code>C</code> calls <code>D</code> ... calls <code>K</code>. (So basically it's a long series of short function calls.) How deep will compilers usually go in the call tree to inline these functions?</p>