Re: alloca (was: Postgres Speed or lack thereof)

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Goran Thyni <goran(at)kirra(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Vadim Mikheev <vadim(at)krs(dot)ru>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: alloca (was: Postgres Speed or lack thereof)
Date: 1999-01-25 05:38:54
Message-ID: Pine.BSF.4.05.9901250137410.76634-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-01-25 06:10:49 Re: [HACKERS] Re: alloca (was: Postgres Speed or lack thereof)
Previous Message Vince Vielhaber 1999-01-25 04:02:32 Re: [HACKERS] Postgres Speed or lack thereof