diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-12-21 22:11:40 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-12-21 22:11:40 -0500 |
commit | 32ba2b516066688ff56e6d62a7ff4a01c88f5700 (patch) | |
tree | d92587bec7ec83167b11d71afd204fa72d1f6f80 /src/backend/access/gist/gistxlog.c | |
parent | c5160b7eecf97a357375960b02a30317474334a3 (diff) | |
download | postgresql-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