Re: GiST memory allocation

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: GiST memory allocation
Дата
Msg-id 41877393.6010708@samurai.com
обсуждение исходный текст
Ответ на Re: GiST memory allocation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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
Дата:
Сообщение: Re: charset/collation in values