[PATCH 2 of 2] osutil.c: replace alloca() with malloc() and remove <alloca.h>
Michael Gebetsroither
gebi at sbox.tugraz.at
Sun Oct 7 23:26:03 UTC 2007
* Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> Not really, how should I go about testing that this is not a performance
> regression? I ssuspect there's going to be a minor overhead because of
> an extra function call for the free() I added, but it would be nice to
> be able to produce useful performance test results.
2 functioncalls overhead ;).
alloca is mostly translated to only one instruction simply adjusting the
stack pointer.
cu,
michael
--
It's already too late!
More information about the Mercurial-devel
mailing list