Re: [exim] Lsearch performance

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: Neil Youngman
CC: exim-users
Sujet: Re: [exim] Lsearch performance
On Fri, 20 May 2005, Neil Youngman wrote:

> There's a thread in the archive about LDAP performance vs lsearch.
> Someone stated that lsearch was really slow.
>
> I'm interested in how true that is. Has anyone got any actual data on
> the speed of lsearch lookups?


If the file is small then lsearch should be fine. We use cdb for large
tables, which we build from lsearch files using a Perl script. (The
cdbmake-12 awk script that comes with the cdb utils is too shoddy.)

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}