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(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.