Re: [exim-dev] Saving the variable part of local part suffix…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nigel Metheringham
Dátum:  
Címzett: exim-dev
Tárgy: Re: [exim-dev] Saving the variable part of local part suffixes
On Mon, 2005-03-14 at 14:22 +0000, Philip Hazel wrote:
> On Mon, 14 Mar 2005, Michael Haardt wrote:
>
> > The patch would add one pointer to an already allocated string, so 1000
> > addresses would allocate about a page more on typical 32-bit systems.
>
> I haven't checked up on this, it may be more than one pointer. I can't
> remember if there's an "original case" and a lowercased version, as
> there is for the local part itself. And we must do both prefix and
> suffix. Otherwise the specification is too baroque, because all other
> things that are concerned with prefixes and suffixes work for both.


Prefix can't be done as a pointer - it would point to the start of the
string. We might well do better to save an unsigned short offset to the
start of the suffix, and the length of the prefix. If its worth doing
at all.

    Nigel.


-- 
[ Nigel Metheringham           Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]