Re: [HACKERS] ArrayLists instead of List (for some things) - Mailing list pgsql-hackers

From David Rowley
Subject Re: [HACKERS] ArrayLists instead of List (for some things)
Date
Msg-id CAKJS1f91L2WYAFsDEgsj7uC-eGZM5XJvriN2uq2UUcWD22q+dQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] ArrayLists instead of List (for some things)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] ArrayLists instead of List (for some things)  (Craig Ringer <craig@2ndquadrant.com>)
Re: [HACKERS] ArrayLists instead of List (for some things)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 3 November 2017 at 03:17, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> We've jacked up the List API and driven a new implementation underneath
> once before.  Maybe it's time to do that again.

Maybe, but the new implementation is not going to do well with places
where we perform lcons(). Probably many of those places could be
changed to lappend(), but I bet there's plenty that need prepend.


-- David Rowley                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] ArrayLists instead of List (for some things)
Next
From: Craig Ringer
Date:
Subject: Re: [HACKERS] ArrayLists instead of List (for some things)