diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-04 17:19:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-04 17:19:55 +0000 |
commit | 3b8ba163d0511a238971c165ffeeb9abdeaceb7c (patch) | |
tree | a31dd62f5407aa470144c0466508cb80a1563646 /src/backend/commands/functioncmds.c | |
parent | 53c5edace83616d34e5025841c22b2106aa1aaf0 (diff) | |
download | postgresql-3b8ba163d0511a238971c165ffeeb9abdeaceb7c.tar.gz postgresql-3b8ba163d0511a238971c165ffeeb9abdeaceb7c.zip |
Tweak a few of the most heavily used function call points to zero out
just the significant fields of FunctionCallInfoData, rather than MemSet'ing
the whole struct to zero. Unused positions in the arg[] array will
thereby contain garbage rather than zeroes. This buys back some of the
performance hit from increasing FUNC_MAX_ARGS. Also tweak tuplesort.c
code for more speed by marking some routines 'inline'. All together
these changes speed up simple sorts, like count(distinct int4column),
by about 25% on a P4 running RH Linux 7.2.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions