diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-28 18:47:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-28 18:47:56 +0000 |
commit | d54ca56743d5b0bb43f7cd951290384a6933e9f9 (patch) | |
tree | 8133128188b9f28e4ac5f833c3a5f9f965e4d117 /src/backend/utils/adt/tsquery.c | |
parent | a238bd146d696bf8c034a0c3a3197f37f111addc (diff) | |
download | postgresql-d54ca56743d5b0bb43f7cd951290384a6933e9f9.tar.gz postgresql-d54ca56743d5b0bb43f7cd951290384a6933e9f9.zip |
Install a lookaside cache to speed up repeated lookups of the same operator
by short-circuiting schema search path and ambiguous-operator resolution
computations. Remarkably, this buys as much as 45% speedup of repetitive
simple queries that involve operators that are not an exact match to the
input datatypes. It should be marginally faster even for exact-match
cases, though I've not had success in proving an improvement in benchmark
tests. Per report from Guillame Smet and subsequent discussion.
Diffstat (limited to 'src/backend/utils/adt/tsquery.c')
0 files changed, 0 insertions, 0 deletions