Re: [exim] Idea: Predefined macros

Pàgina inicial
Delete this message
Reply to this message
Autor: Stanislaw Halik
Data:  
A: exim-users
Assumpte: Re: [exim] Idea: Predefined macros
On Wed, May 02, 2007, Marc Perkel wrote:

>>> Hope not to sound to ignorant but what is a macro? Can you give an
>>> example of what that would look like?
>> Marc, RTFM. Chapter six.
> I think I see what the controversy is. Because a macro can be any string
> then you have to scan every line for every macro. If there is a
> performance issue then let me suggest this. Have the ability to set a
> compile flag that MACROS have to be UPPERCASE and at least say 6
> characters long. That should cut down on the performance problems.


And how is is going to speed up the substring search?

> Also, why aren't these macros expanded once at load time and stored in
> memory expanded?


AFAIK, the config file is being re-parsed upon spawning a new Exim
instance.

-- 
Whenever you find that you are on the side of the majority, it is time
to reform.
                -- Mark Twain