Re: equal() perf tweak

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: equal() perf tweak
Date: 2003-11-04 04:49:24
Message-ID: 1067921363.13534.9.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, 2003-11-03 at 18:19, Tom Lane wrote:
> Hard to tell. Since I haven't seen any evidence that equal() on lists
> is a particular hotspot, I'd lean against adding complexity and
> maintenance burden here.

Ok, I agree -- probably not worth doing, then.

> I have already done something much like this in a few hotspots using the
> FastList structure. But notationally, it's a pain in the neck compared
> to the existing List code. If you can think of a way to implement this
> without adding a lot of notational cruft, I'd sure be for it.

Which specific notational capabilities did you have in mind? i.e. is it
just something like 'foreach' loop syntax sugar, or something else in
particular?

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2003-11-04 05:36:56 bufmgr code question
Previous Message Jan Wieck 2003-11-04 04:28:25 Re: Experimental patch for inter-page delay in VACUUM

Browse pgsql-patches by date

  From Date Subject
Next Message Kris Jurka 2003-11-04 15:21:00 alter schema help is not available in psql
Previous Message Tom Lane 2003-11-03 23:46:12 Re: bufmgr code cleanup