Re: RFC: list API / memory allocations

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: RFC: list API / memory allocations
Дата
Msg-id 20111119173319.GA24234@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: RFC: list API / memory allocations  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: RFC: list API / memory allocations  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Now, if you could do something that *doesn't* restrict what operations
> could be applied to the lists, that would be good.

If the API is followed, I believe my previous patch works for
everything, but it wasn't variable about the size of the new list.
Perhaps we could combine the two approaches, though there would be more
overhead from dealing with a variable bitmap for what's currently used.

> I've wished for a long while that we could allocate the list header and
> the first list cell in a single palloc cycle.

You've mentioned that before and, to be honest, I could have sworn that
we're doing that already..
Thanks,
    Stephen

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: RFC: list API / memory allocations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: EXPLAIN (plan off, rewrite off) for benchmarking