| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера