| От | tgl@svr1.postgresql.org (Tom Lane) |
|---|---|
| Тема | pgsql-server/src backend/executor/execQual.c b ... |
| Дата | |
| Msg-id | 20040317010224.4BB4AD1B534@svr1.postgresql.org обсуждение |
| Список | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 04/03/16 21:02:24
Modified files:
src/backend/executor: execQual.c nodeHash.c nodeMergejoin.c
nodeSubplan.c
src/include/executor: executor.h nodeSubplan.h
src/include/nodes: execnodes.h
Log message:
Replace the switching function ExecEvalExpr() with a macro that jumps
directly to the appropriate per-node execution function, using a function
pointer stored by ExecInitExpr. This speeds things up by eliminating one
level of function call. The function-pointer technique also enables further
small improvements such as only making one-time tests once (and then
changing the function pointer). Overall this seems to gain about 10%
on evaluation of simple expressions, which isn't earthshaking but seems
a worthwhile gain for a relatively small hack. Per recent discussion
on pghackers.
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера