Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Paul Scott
On Fri, 2008-02-01 at 11:11 -0600, Greg Donald wrote: > Thanks for the benchmark. > Yes, thanks! It has just confirmed what I have been experiencing as well. I am busy converting a static site to a Chisimba CMS based site at the moment with 43 000 odd static, frontpage generated HTML pages. I

Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Greg Donald
On Jan 31, 2008 10:09 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > http://nathan.moxune.com/arrayVsArrayIteratorReport.php > > at this point i must retract some of the statements i made during the > conversation about ruby yesterday. it turns out, spl iteration is not > twice as fast as standard

Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Jochem Maas
Nathan Nobbe schreef: all, as ive been researching SPL lately ive read several times that spl will store only the current element of the underlying collection in memory during iteration. articles that mention this will say that using these iterators should afford savings when traversing large c

[PHP] array iteration vs. ArrayIterator

2008-01-31 Thread Nathan Nobbe
all, as ive been researching SPL lately ive read several times that spl will store only the current element of the underlying collection in memory during iteration. articles that mention this will say that using these iterators should afford savings when traversing large collections. well having