summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-12-21 22:11:40 -0500
committerRobert Haas <rhaas@postgresql.org>2010-12-21 22:11:40 -0500
commit32ba2b516066688ff56e6d62a7ff4a01c88f5700 (patch)
treed92587bec7ec83167b11d71afd204fa72d1f6f80 /src/backend/access/gist/gistxlog.c
parentc5160b7eecf97a357375960b02a30317474334a3 (diff)
downloadpostgresql-32ba2b516066688ff56e6d62a7ff4a01c88f5700.tar.gz
Use memcmp() rather than strncmp() when shorter string length is known.
It appears that this will be faster for all but the shortest strings; at least one some platforms, memcmp() can use word-at-a-time comparisons. Noah Misch, somewhat pared down.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions