pgsql: Marginal performance hack: avoid unnecessary work in

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Marginal performance hack: avoid unnecessary work in
Дата
Msg-id 20070430001454.5F8E99FA5C8@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Marginal performance hack: avoid unnecessary work in expression_tree_mutator.
We can just palloc, instead of using makeNode, when we are going to
overwrite the whole node anyway in the FLATCOPY macro.  Also, use
FLATCOPY instead of copyObject for common node types Var and Const.

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.242 -> r1.243)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.242&r2=1.243)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Marginal performance hack: remove the loop that used to be needed
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Marginal performance hack: use a dedicated routine instead of