Re: [PATCH] Some small optimizations

From: Date: Wed, 13 Dec 2006 15:33:31 +0000
Subject: Re: [PATCH] Some small optimizations
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-26931@lists.php.net to get a copy of this message
Matt, The ext/* patches were applied to 5.2, I'll commit the Zend/ ones once we have an agreement on the previous patch. On 13-Dec-06, at 8:22 AM, Matt Wilmas wrote:
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
Ilia Alshanetsky

« previous php.internals (#26931) next »