Re: linked list rewrite

Neil Conway <neilc@samurai.com>

From: Neil Conway <neilc@samurai.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2004-04-28T23:29:09Z
Lists: pgsql-hackers
On 27-Apr-04, at 10:07 PM, Tom Lane wrote:
[ ... on the topic of list_union(), list_union_int() and friends ]
> I guess the real question in my mind is whether there is any true gain 
> in symmetry or readability by doing it this way.

I think there's a small gain: everything else being equal, an API with 
fewer functions is easier to use and easier to understand. If we can 
provide a single function that takes the place of three functions 
without losing anything, we ought to do so.

-Neil