Re: [HACKERS] Postgres Speed or lack thereof

Поиск
Список
Период
Сортировка
От Goran Thyni
Тема Re: [HACKERS] Postgres Speed or lack thereof
Дата
Msg-id 36AB9A35.732B5761@kirra.net
обсуждение исходный текст
Ответ на Re: [HACKERS] Postgres Speed or lack thereof  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Postgres Speed or lack thereof  (The Hermit Hacker <scrappy@hub.org>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Q about heap_getattr
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Postgres Speed or lack thereof