At 00:11 30/12/2001, August Zajonc wrote: >Does the Zend Cache or APC Cache do things I wasn't aware of? Did you run >these examples under these caches and see PHP start smoking? Sterling, >generally these products just cache the result of an intermediate >compilation step, they do not speed up the actual calls.
If you use caching software, chances are PHP will be faster than Perl even without the optimizer. And it does that without any hassle or special planning, unlike Perl for that matter. If you use the optimizer - it gets as quick as Perl, and that's without caching. Couple the two together - and you have a serious performance screamer. That said, in most real world situations, PHP will be faster than Perl even w/o these two. I don't agree that Web apps are just made of small snippets like this. In Web apps - database performance, output handling and caching play a big role, which these code snippets don't measure. FWIW, I agree with you that 'code in C if you need performance' is quite a pointless statement, except for very specialized cases. One of the main points in using PHP is *not* using C, because of dev-time, maintenance, reliability, etc. etc. Zeev -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]