Re: equal() perf tweak
От
Neil Conway
Тема
Re: equal() perf tweak
Дата
Msg-id
1068024285.779.10.camel@tokyo
Ответ на
Re: equal() perf tweak (Tom Lane)
Список
Дерево обсуждения
equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Gaetano Mendola <mendola@bigfoot.com>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Gaetano Mendola <mendola@bigfoot.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Gaetano Mendola <mendola@bigfoot.com>
Re: equal() perf tweak Gaetano Mendola <mendola@bigfoot.com>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Re: equal() perf tweak Tom Lane <tgl@sss.pgh.pa.us>
Re: equal() perf tweak Bruce Momjian <pgman@candle.pha.pa.us>
Re: equal() perf tweak Gaetano Mendola <mendola@bigfoot.com>
Re: equal() perf tweak Neil Conway <neilc@samurai.com>
Ok, I've attached new versions of list.c and pg_list.h -- this is just a *rough sketch* of the new List code -- it definitely won't compile, the intent is just to concretely specify the new List design. Also, I've only updated the important list functions: I stopped at nth(). (I've attached the whole files, rather than diffs, because I thought that would be easier to read...) Any comments would be welcome -- I'm sure I've mucked a few things up. Also, since it doesn't compile and I haven't done any testing, there are probably some thinkos & typos in the code. On Tue, 2003-11-04 at 11:40, Tom Lane wrote: > Hmm ... taking that one step further, you could probably avoid the need > for two palloc's in the first lcons/lappend if the List header were > combined with the first ListCell. This would make for some grottiness > in ldelete when removing the first list entry, but that's probably > a good tradeoff. I haven't implemented this (yet), or the aset.c changes you suggested. -Neil
В списке pgsql-patches по дате отправления