aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-28 03:51:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-28 03:51:05 +0000
commit21eb6aeb36b691b2b57d8a1445c665330b669552 (patch)
tree456732cf430bc85ce7af52c68f08e5753e230c2b /src/backend/access/gist/gistutil.c
parent640796ff4122c01ab96780cbbee88479c3694907 (diff)
downloadpostgresql-21eb6aeb36b691b2b57d8a1445c665330b669552.tar.gz
postgresql-21eb6aeb36b691b2b57d8a1445c665330b669552.zip
Shave a few cycles in compare_pathkeys() by checking for pointer-identical
input lists before we grovel through the lists. This doesn't save much, but testing shows that the case of both inputs NIL is common enough that it saves something. And this is used enough to be a hotspot.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions