Re: Benchmarking SPL Iterators vs for / foreach ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 26, 2005 at 02:36:26PM +0200, Andrei Verovski (aka MacGuru) wrote:
> Hi,
> 
> Someone have benchmarked SPL iterators vs for / foreach loops? What is the performance penalty?
> 
> SPL is �interpreted wrapper� on the top of C++ STL (correct me if I am wrong), and I am sure it uses STL callbacks. But unlike C++, PHP scripts are interpreted, so pointer arithmetic will work only through Zend engine which for sure  adds extra performance penalty.
 
I think you're confused at what SPL is in php:

http://php.net/spl

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux