procmail
[Top] [All Lists]

Re: prevent unnecessary forking

2003-10-13 09:04:01
On Mon, Oct 13, 2003 at 04:35:26PM +0200, Ruud H.G. van Tol wrote:
Is this:

   :0c
   * B ?? < 100000
   {
     #etc.
   }

less efficient than the following?

No, it's more.

   :0
   * B ?? < 100000
   {
     :0c
     {
       #etc.
     }
   }

Rephrased: does the fork occur right at the c-flag, 
or only after the condition is checked.

After the condition is checked.

-- 
dman

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>