[dokuwiki] Re: mail_send() inefficiencies

I wrote:
>there's potential to significantly reduce server scalability.

I should have pointed out that each parsing and validation generates numerous 
arrays and string objects, including one call to preg_match() and one call to 
eregi() each.

Also, we should eliminate string concatenation from header construction and use 
a nested output buffer instead.  At one occurrence per mail_send(), this isn't 
too much of an issue, but with multiple cats per address, this could be a big 
issue.  In any case, it's an easy way to squeeze out more scalability.

~joe
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: