Re: fixing dllist?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fixing dllist?
Дата
Msg-id 2852.1174575239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fixing dllist?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Another change that could be done to Dllist is removing the Dllist
> pointer from the Dlelem struct:

I think this is a bad idea.  The patch you propose makes
CatCacheRemoveCTup significantly more expensive (extra hash
calculation).  Moreover, the savings involved is entirely illusory:
palloc chunks are powers of 2, therefore 3 pointers take the same
space as 4.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fixing hash index build time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Function cache regeneration