note 100541 deleted from class.domnodelist by danbrown
| From: | danbrown@php.net | Date: | Fri, 22 Oct 2010 08:02:04 +0000 |
| Subject: | note 100541 deleted from class.domnodelist by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173368@lists.php.net to get a copy of this message | ||
Note Submitter: anonymous
----
Why the DOMNodeList which is actually a list has no methods like hasNext() and getNext()?
Accessing each item over DOMNodeList::item in a loop is very slow. Especially if the list contains a
lot of elements.