pgsql-server/src/backend executor/nodeAgg.c ut ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend executor/nodeAgg.c ut ...
Date: 2002-10-04 17:19:55
Message-ID: 20021004171955.CE54D475E84@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 02/10/04 13:19:55

Modified files:
src/backend/executor: nodeAgg.c
src/backend/utils/fmgr: fmgr.c
src/backend/utils/sort: tuplesort.c

Log message:
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.

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-10-04 17:26:56 pgsql-server/doc TODO
Previous Message Bruce Momjian - CVS 2002-10-04 02:28:43 pgsql-server/doc TODO