Re: support for printing/exporting xml

From: Neil Conway <neilc(at)samurai(dot)com>
To: Brian Moore <brianmooreca(at)yahoo(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: support for printing/exporting xml
Date: 2004-01-29 22:43:59
Message-ID: 874quejryo.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Brian Moore <brianmooreca(at)yahoo(dot)com> writes:
> it's not necessary. i ran tests and the hashtable lookup was faster
> (though not by too much) than the bsearch for the data with which i
> populated the table.

Right -- I'd expect the performance difference between the two to be
pretty negligible for even the largest pg_type catalogs.

So do you agree that using bsearch here is preferable, or no?

-Neil

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Korea PostgreSQL Users' Group 2004-01-30 14:32:37 v7.4.1 text_position() patch
Previous Message Brian Moore 2004-01-29 18:52:17 Re: support for printing/exporting xml