note 111436 deleted from domelement.getelementsbytagname by danbrown

From: Date: Mon, 04 Mar 2013 18:01:54 +0000
Subject: note 111436 deleted from domelement.getelementsbytagname by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-193869@lists.php.net to get a copy of this message
Note Submitter: oscar at bitmaiden dot com ---- Imrpovements welcomed? A quick improvement is to cache '$node->length' in a var instead of letting the interpreter calculate it on each iteration. '$this->doc' can also be cached into a var to save doing a jump.

« previous php.notes (#193869) next »