Re: GiST memory allocation

Поиск
Список
Период
Сортировка
Искать
От
Neil Conway
Тема
Re: GiST memory allocation
Дата
Msg-id
41877393.6010708@samurai.com
Ответ на
Список
Дерево обсуждения
GiST memory allocation Neil Conway <neilc@samurai.com>
Re: GiST memory allocation Tom Lane <tgl@sss.pgh.pa.us>
Re: GiST memory allocation Neil Conway <neilc@samurai.com>
Re: GiST memory allocation Tom Lane <tgl@sss.pgh.pa.us>
Re: GiST memory allocation Neil Conway <neilc@samurai.com>
Tom Lane wrote:
> I don't believe memory context creation is very much worse than a malloc
> (and it's certainly not that much worse than a context reset).
> If you can't buy back the time spent by avoiding some retail pfrees, then
> this whole exercise becomes very questionable anyway.

Hmm, okay -- I'll just create and destroy the contexts for each API call 
then.

Thanks for the advice.

-Neil

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: GiST memory allocation
От: Dennis Bjorklund
Дата:
FAQ