note 35127 deleted from ref.mail by didou
| From: | didou@php.net | Date: | Thu, 21 Aug 2003 09:53:52 +0000 |
| Subject: | note 35127 deleted from ref.mail by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54811@lists.php.net to get a copy of this message | ||
Note Submitter: lallip at rpi dot edu
----
In response to the function posted by grey at greywyvern dot com:
That function could be made a lot faster if you put all of the arguments of the fputs calls into one
big string, and then made one call to fputs after the while loop.
As a test, I sent a message to one hundred addresses. It took 14 seconds with your function, and
about 2 or 3 seconds with just the one fputs call.
Paul Lalli