Re: PEAR::IMAP vs php's imap_* functions

From: Date: Tue, 26 Aug 2003 22:04:54 +0000
Subject: Re: PEAR::IMAP vs php's imap_* functions
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7425@lists.php.net to get a copy of this message
"Myhan" <myhan@liumeiti.com> wrote in message news:20030826030854.32825.qmail@pb1.pair.com... > I did a simple test today to compare the speed between PEAR::IMAP lib and > php's imap functions > I found that PEAR::IMAP is slower than imap_* functions. > Is it true ??? I just test list mailbox functions. I can easily see it being slower. The Net_Imap is actually a script that uses Net_Socket to connect to the IMAP server. The build-in imap_* functions, ofcourse do roughly the same, bt they are written in C, while the PEAR modules are written in PHP, which creates a significant overhead. I guess the Net_Imap package, like the Mail_Mime and many other packages are created for those cases where imap isn't compiled into PHP, but you still need to access an IMAP server. Cipri

« previous php.pear.general (#7425) next »