Re: counting pallocs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: counting pallocs
Дата
Msg-id 21833.1337258640@sss.pgh.pa.us
обсуждение исходный текст
Ответ на counting pallocs  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> One piece of reasonably low-hanging fruit appears to be OpExpr.  It
> seems like it would be better all around to put Node *arg1 and Node
> *arg2 in there instead of a list...  aside from saving pallocs, it
> seems like it would generally simplify the code.

Obviously, Stephen Frost's list-allocation patch would affect your
results here ... but I wonder how much the above change would affect
*his* results.  Specifically, the observation that most lists are 1
or 2 elements long would presumably become less true, but I wonder
by how much exactly.
        regards, tom lane


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

Предыдущее
От: Joshua Berkus
Дата:
Сообщение: Re: Strange issues with 9.2 pg_basebackup & replication
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: read() returns ERANGE in Mac OS X