git.postgresql.org Git - postgresql.git/commit
2005年5月25日 22:59:33 +0000 (22:59 +0000)
2005年5月25日 22:59:33 +0000 (22:59 +0000)
commit 8c792fe9cbe1dcfdafcdc70b961be714631324ec
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
This is the main PostgreSQL git repository.
RSS
Atom