Re: Pre-alloc ListCell's optimization - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Pre-alloc ListCell's optimization
Date
Msg-id [email protected]
Whole thread Raw
In response to Pre-alloc ListCell's optimization  (Stephen Frost <[email protected]>)
Responses Re: Pre-alloc ListCell's optimization
List pgsql-hackers
On Tue, May 24, 2011 at 10:56 PM, Stephen Frost <[email protected]> wrote:
>  Someone (*cough*Haas*cough) made a claim over beers at PGCon that it
>  would be very difficult to come up with a way to pre-allocate List
>  entries and maintain the current List API.  I'll admit that it wasn't
>  quite as trivial as I had *hoped*, but attached is a proof-of-concept
>  patch which does it.
>
> [ various points ]

So I guess the first question here is - does it improve performance?

Because if it does, then it's worth pursuing ... if not, that's the
first thing to fix.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [ADMIN] pg_class reltuples/relpages not updated by autovacuum/vacuum
Next
From: "Kevin Grittner"
Date:
Subject: Re: [ADMIN] pg_class reltuples/relpages not updated by autovacuum/vacuum