diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-12 19:32:06 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-12 19:32:06 +0000 |
commit | 1879175b18211962984e6ff0f3cba344c386b11c (patch) | |
tree | 9673b9922dc4229839ccf6ab46f127caf535aaad /src/backend/access/gist/gist.c | |
parent | ef3386affebb641bf84a528fc2b62530577c10e8 (diff) | |
download | postgresql-1879175b18211962984e6ff0f3cba344c386b11c.tar.gz postgresql-1879175b18211962984e6ff0f3cba344c386b11c.zip |
Fix performance bug in constant-expression simplifier. After finding
that the inputs to a given operator can be recursively simplified to
constants, it was evaluating the operator using the op's *original*
(unsimplified) arg list, so that any subexpressions had to be evaluated
again. A constant subexpression at depth N got evaluated N times.
Probably not very important in practical situations, but it made us look
real slow in MySQL's 'crashme' test...
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions