[PATCH] Some small optimizations

From: Date: Wed, 13 Dec 2006 13:22:45 +0000
Subject: [PATCH] Some small optimizations
Groups: php.internals 
Request: Send a blank email to internals+get-26929@lists.php.net to get a copy of this message
Hi, Here are patches to use Brian Shire's optimizations (applied by Ilia to 5.2 the other day) in a couple more places, and for HEAD. In Unicode mode, concat_function() is up to 20%+ faster! (Probably because zend_make_unicode_zval() calls TSRMLS_FETCH(); so not so much with non-ZTS I guess.) Also removed a few strlen() calls that I noticed when looking at is_numeric_string's usage awhile ago. :-) http://realplain.com/php/misc_optimizations.diff http://realplain.com/php/misc_optimizations_5_2.diff Matt

« previous php.internals (#26929) next »