An optimization idea

From: Date: Sun, 19 Oct 2008 19:11:32 +0000
Subject: An optimization idea
Groups: php.internals 
Request: Send a blank email to internals+get-41280@lists.php.net to get a copy of this message
Hi, I think zend_hash_compare could get a healthy speed boost in some cases if first it would check whether the two variables passed to it are actually the same (because of "reference counting"). Sorry, my C skills are way too rusty to write the patch which is likely to be just a few lines long. Regards, Karoly Negyesi

« previous php.internals (#41280) next »