Re: init_sequence spill to hash table - Mailing list pgsql-hackers

From David Rowley
Subject Re: init_sequence spill to hash table
Date
Msg-id CAApHDvoCgp70vOuQYKTfguMED__Qg7YYpGnzHSN0i2sUuBtjRg@mail.gmail.com
Whole thread Raw
In response to Re: init_sequence spill to hash table  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: init_sequence spill to hash table  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
On Fri, Nov 15, 2013 at 3:03 AM, Heikki Linnakangas <hlinnakangas@vmware.com> wrote
I think that means that we should just completely replace the list with the hash table. The difference with a small N is lost in noise, so there's no point in keeping the list as a fast path for small N. That'll make the patch somewhat simpler.
- Heikki

Attached is a much more simple patch which gets rid of the initial linked list. 

Attachment

pgsql-hackers by date:

Previous
From: Nigel Heron
Date:
Subject: Re: stats for network traffic WIP
Next
From: Pavel Stehule
Date:
Subject: Re: [PATCH] SQL assertions prototype