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

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: David Woodhouse
CC: exim-dev
Assumpte: Re: [exim-dev] [PATCH] Dynamically loaded lookups -- part 1.
On Mon, 28 Feb 2005, David Woodhouse wrote:
> On Mon, 2005-02-28 at 17:03 +0000, Tony Finch wrote:
> >
> > Why not just make the lookup_list bigger, and insert dynamically-loaded
> > lookups into it as necessary?
>
> It's currently searched by binary chop.


I know :-) Insertion into a sorted array isn't hard or expensive when the
array is small (as it is in this case).

Tony.
--
f.a.n.finch <dot@???> http://dotat.at/
NORTH UTSIRE SOUTH UTSIRE: NORTH BECOMING CYCLONIC 4 OR 5, THEN SOUTH OR
SOUTHEAST 5 TO 7 LATER. WINTRY SHOWERS. MODERATE OR GOOD.