Re: nodeAgg perf tweak - Mailing list pgsql-hackers

From Neil Conway
Subject Re: nodeAgg perf tweak
Date
Msg-id 1101875387.22124.104.camel@localhost.localdomain
Whole thread Raw
In response to Re: nodeAgg perf tweak  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 2004-11-30 at 23:15 -0500, Tom Lane wrote:
> And how badly does it leak memory?  I do not believe this patch is
> tenable.

Did you read the rest of my mail?

> Something that occurred to me the other morning in the shower is that we
> could trivially inline MemoryContextSwitchTo() when using gcc, much as
> you did for list_length().  I haven't gotten around to doing it but it
> seems like a free percent-or-two improvement.

Yeah, it actually occurred to me as well this would be worth doing. It's
not relevant to this particular example though.

-Neil




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: libpq and psql not on same page about SIGPIPE
Next
From: Thomas Hallgren
Date:
Subject: Re: Error handling in plperl and pltcl