Re: alloca (was: Postgres Speed or lack thereof)
Marc Fournier <scrappy@hub.org>
From: The Hermit Hacker <scrappy@hub.org>
To: Goran Thyni <goran@kirra.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Vadim Mikheev <vadim@krs.ru>, pgsql-hackers@postgreSQL.org
Date: 1999-01-25T05:38:54Z
Lists: pgsql-hackers
On Sun, 24 Jan 1999, Goran Thyni wrote:
> The Hermit Hacker wrote:
> > BUGS
> > The alloca() function is machine dependent; its use is discouraged.
>
> Gain a big potential speed boost, loose some portability.
> I think most modern unices has a good alloca, DOS and Mac
> don't, but who's porting the server there?
>
> Any unices out there missing alloca?
Make you a deal...
You build the code such that "#ifdef HAVE_ALLOCA" is true, so that those
platforms that either don't support it, or have broken suport for it,
aren't affect, and you are most welcome to work on it...
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org