Bernhard Voelker wrote: > The question seems to be if the performance degradation of not-inlining is > larger > than switching from stack to malloc'ed storage.
Definitely yes. Today's CPU hardware is optimized at doing function calls. A function call is *much* cheaper than doing an extra heap memory allocation. Bruno