On 2015-11-19 09:49, IOhannes m zmoelnig wrote:
to keep the performance of a heap allocated buffer, i would suggest to:
- use the original scheme for an "immediate" (non-recursive) message
- detect recursion, and if so, allocate buffers on the stack.
attached is a patch that implements that. the patch is against current HEAD, though i really worked on HEAD~1, so it reverts a number of (imho unneccessary) things.
it only touches functions that actually do output things (minus the revert-last-commit),
fgmaf IOhannes