Re: linked list rewrite
От | Bruce Momjian |
---|---|
Тема | Re: linked list rewrite |
Дата | |
Msg-id | 200404290431.i3T4VMQ25722@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: linked list rewrite (Neil Conway <neilc@samurai.com>) |
Список | pgsql-hackers |
Neil Conway wrote: > On 28-Apr-04, at 12:12 AM, Bruce Momjian wrote: > > I never liked "cell" myself. It is too vague to me. But I see your > > point that list_head you would think returns the head of the list, not > > the first element in the list. > > I'm not sure what you mean: list_head() returns the "head of the list", > which is the first cell in the list. That cell contains a data value > and a pointer to the next cell in the list. Makes sense to me... Oh, I thought cell returned the first data value, not the first-data-and-pointer-to-next-one. Yes, list_head and list_tail seems fine. Why mix "cell" in there? I don't know what a cell is. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: