Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group