pgsql: Convert eval_const_expressions's long series of IsA tests into a

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Convert eval_const_expressions's long series of IsA tests into a
Дата
Msg-id E1RV6mB-00064L-Hm@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Convert eval_const_expressions's long series of IsA tests into a switch.

This function has now grown enough cases that a switch seems appropriate.
This results in a measurable speed improvement on some platforms, and
should certainly not hurt.  The code's in need of a pgindent run now,
though.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a04161f2eab55f72b3c3dba9baed0ec09e7f633f

Modified Files
--------------
src/backend/optimizer/util/clauses.c |   56 +++++++++++++++++++---------------
1 files changed, 31 insertions(+), 25 deletions(-)


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

Предыдущее
От: dpage@pgfoundry.org (Dave Page)
Дата:
Сообщение: stackbuilder - wizard: Don't try to use a download counter unless the
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql: Make pg_dumpall build with the right object files under MSVC.