note 31524 added to function.imap-fetch-overview
| From: | bill dot mccoy at pictureiq dot com | Date: | Thu, 24 Apr 2003 22:30:32 +0000 |
| Subject: | note 31524 added to function.imap-fetch-overview | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47050@lists.php.net to get a copy of this message | ||
trionon's point also is not supported by my measurements, which indicate that a loop of
single-message imap_fetch_overview calls performs equivalently to 1 call with a sequence, within
1-2% anyway. The implementation of imap_fetch_overview (at least in PHP 4.3.1) hits the UW C client
library for each message individually in a loop so this isn't too surprising, the extra work of
a bit of PHP interpretation is swamped by the IMAP server interaction which is the same whether you
call imap_fetch_overview 100 times or once with "1:100".
--
http://www.php.net/manual/en/function.imap-fetch-overview.php
http://master.php.net/manage/user-notes.php?action=edit+31524
http://master.php.net/manage/user-notes.php?action=delete+31524
http://master.php.net/manage/user-notes.php?action=reject+31524