Improved performance of array_maerge() and func_get_args()

From: Date: Wed, 23 Oct 2013 12:36:20 +0000
Subject: Improved performance of array_maerge() and func_get_args()
Groups: php.internals 
Request: Send a blank email to internals+get-69802@lists.php.net to get a copy of this message
Hi, I'm proposing two simple patches that eliminate a lot of useless zval copying. For example they remove only about 800 calls to zend_hash_copy() (25%) on each request to wordpress-3.6.0 home page and make it 2-4% faster. It's not a questions about master branch, but I think it is also safe to commit them into PHP-5.4 and PHP-5.5. Any objections? https://gist.github.com/dstogov/7117623 https://gist.github.com/dstogov/7117649 Thanks. Dmitry.

« previous php.internals (#69802) next »