Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26929 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14362 invoked by uid 1010); 13 Dec 2006 13:23:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14346 invoked from network); 13 Dec 2006 13:23:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2006 13:23:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain realplain.com from 209.142.136.132 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 209.142.136.132 msa2-mx.centurytel.net Linux 2.4/2.6 Received: from [209.142.136.132] ([209.142.136.132:41993] helo=msa2-mx.centurytel.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/11-04802-8AEFF754 for ; Wed, 13 Dec 2006 08:23:23 -0500 Received: from pc1 (pppoe-66-112-68-93.rb2.lax.centurytel.net [66.112.68.93] (may be forged)) by msa2-mx.centurytel.net (8.13.6/8.13.6) with SMTP id kBDDMiaG001682 for ; Wed, 13 Dec 2006 07:22:45 -0600 Message-ID: <004c01c71eb9$c70bc990$0201a8c0@pc1> To: Date: Wed, 13 Dec 2006 07:22:45 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0049_01C71E87.7C16B670" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Subject: [PATCH] Some small optimizations From: php_lists@realplain.com ("Matt Wilmas") ------=_NextPart_000_0049_01C71E87.7C16B670 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0049_01C71E87.7C16B670--