You are here: Benchmarking SPL Iterators vs for / foreach ??? « PHP « IT news, forums, messages
Benchmarking SPL Iterators vs for / foreach ???

Posted by "Andrei Verovski (aka MacGuru)" on 11/26/05 14:36

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.

Thanks in advance for any suggestion(s)


************************************************
***   with best regards
***   Andrei Verovski (aka MacGuru)
***   Mac, Linux, DTP, Programming Web Site
***
***   http://snow.prohosting.com/guru4mac/
************************************************

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация