On Mar 8, 2006, at 02:09, Johannes russek wrote:
thx, i just started off with some plugins we needed to patch, so i (shame on
me) carefully left out reading the docs ;)
i now moved the regexp compilation into init() while leaving the hook
registering to hook().
i have tested some quite simple patterns and regexs and it seems to work.
would you like to receive the patch?


Do you have some specs that show better performance of precompiled regular expressions?

I would expect maybe a slight advantage for the body checks (as there are many lines) -- for this to have any effect on header and envelope checks, the regexp compilation would have to be in the qpsmtpd core in a forkserver setting...?

Please add your experience to the wiki at
        http://wiki.qpsmtpd.org/

-Johan

Reply via email to