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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: David Woodhouse
CC: exim-dev
Sujet: 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.