aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-05-25 22:59:33 +0000
committerBruce Momjian <bruce@momjian.us>2005-05-25 22:59:33 +0000
commit8c792fe9cbe1dcfdafcdc70b961be714631324ec (patch)
treed9a4e8a4c5848634e4e5fe86db831f2a0d44af45 /src/backend/utils/adt/ruleutils.c
parentbbb586ff211c2d304db4a64e8c3ea715a4ecebb5 (diff)
downloadpostgresql-8c792fe9cbe1dcfdafcdc70b961be714631324ec.tar.gz
postgresql-8c792fe9cbe1dcfdafcdc70b961be714631324ec.zip
At the head of wchareq, length of (multibyte) character is compared by
using pg_mblen. Therefore, pg_mblen is executed many times, and it becomes a bottleneck. This patch makes a short cut, and reduces execution frequency of pg_mblen by comparing the first byte first. a_ogawa
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions