Re: [exim-dev] [PATCH] Dynamically loaded lookups -- part 1.

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tony Finch
Data:  
Para: David Woodhouse
CC: exim-dev
Assunto: Re: [exim-dev] [PATCH] Dynamically loaded lookups -- part 1.
On Mon, 28 Feb 2005, David Woodhouse wrote:
>
> Next we'll probably want to get rid of lookup_list[] altogether and use
> a tree of available lookup types instead. Then we can actually look at
> making them dynamically loadable.


Why not just make the lookup_list bigger, and insert dynamically-loaded
lookups into it as necessary?

> I'm slightly dubious about getting rid of lookup_list[], because that'll
> mean we have to build the lookup tree at process startup time _every_
> time.


There aren't enough lookups for this to be a significant cost.

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}}