Re: linked list rewrite
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Neil Conway <neilc@samurai.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2004-03-24T03:31:30Z
Lists: pgsql-hackers
Neil Conway <neilc@samurai.com> writes: > On 23-Mar-04, at 7:05 PM, Tom Lane wrote: >> No, lcons is one of the names that I think we should stick with on >> historical grounds. It's widely used in the backend and it has the >> right connotations for anyone who's ever used Lisp. > I think it has exactly the *wrong* connotations: the name suggests that > it creates a new cons cell (along with the ensuing implications about > performance and the internal implementation of the list), which is no > longer the case. How do you mean it's no longer the case? ListCell looks exactly like a cons cell to me. regards, tom lane