Re: [HACKERS] 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-24T22:26:45Z
Lists: pgsql-hackers
BUGS
The alloca() function is machine dependent; its use is discouraged.
On Sun, 24 Jan 1999, Goran Thyni wrote:
> Tom Lane wrote:
> > I don't think we can or should stop using malloc(), but we can
> > ask it for large blocks and do our own allocations inside those
> > blocks --- was that what you meant?
>
> I will just jump in with a small idea.
> The Gnome crowd is investigating using alloca instead of malloc/free
> where applicable. It is a huge save in CPU cycles where it can be used.
>
> regards,
> --
> -----------------
> Gran Thyni
> This is Penguin Country. On a quiet night you can hear Windows NT
> reboot!
>
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org