Re: [HACKERS] Postgres Speed or lack thereof - Mailing list pgsql-hackers

From Goran Thyni
Subject Re: [HACKERS] Postgres Speed or lack thereof
Date
Msg-id 36AB9A35.732B5761@kirra.net
Whole thread Raw
In response to Re: [HACKERS] Postgres Speed or lack thereof  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Postgres Speed or lack thereof  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
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,
-- 
-----------------
Göran Thyni
This is Penguin Country. On a quiet night you can hear Windows NT
reboot!


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Q about heap_getattr
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Postgres Speed or lack thereof