pgsql-server/src/backend executor/nodeAgg.c ut ... - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql-server/src/backend executor/nodeAgg.c ut ...
Date
Msg-id 20021004171955.CE54D475E84@postgresql.org
Whole thread Raw
Responses Re: pgsql-server/src/backend executor/nodeAgg.c ut ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: pgsql-server/src/backend executor/nodeAgg.c ut ...  (Neil Conway <neilc@samurai.com>)
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.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.


pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql-server/doc TODO
Next
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql-server/doc TODO