summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-19 22:41:00 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-19 22:41:00 +0000
commitd961a568996648b62e1bf18a8b3840aa61a3b4e8 (patch)
treee2f8e3b0521803580f00e2929f783a5bc306cc07 /src/backend/access/gist/gistutil.c
parentfc654583ab6c37f69fea2af4882074fc7e76ad90 (diff)
downloadpostgresql-d961a568996648b62e1bf18a8b3840aa61a3b4e8.tar.gz
Avoid unnecessary palloc overhead in _bt_first(). The temporary
scankeys arrays that it needs can never have more than INDEX_MAX_KEYS entries, so it's reasonable to just allocate them as fixed-size local arrays, and save the cost of palloc/pfree. Not a huge savings, but a cycle saved is a cycle earned ...
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions