Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26931 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47226 invoked by uid 1010); 13 Dec 2006 15:34:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47211 invoked from network); 13 Dec 2006 15:34:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2006 15:34:48 -0000 Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.231 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.231 nz-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.162.231] ([64.233.162.231:26030] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/61-38081-25D10854 for ; Wed, 13 Dec 2006 10:34:13 -0500 Received: by nz-out-0506.google.com with SMTP id k1so114506nzf for ; Wed, 13 Dec 2006 07:33:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:x-priority:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=MEqkkzFbxWYBBqHVi+/xarzBMwNUSuti8YWGjtcnMqx/SVOcCV95GIS6yB1SEZVFB/Ab6D5Oi4hyz5NzQaNzoz3O5ZUYXJnbo0yEFkJ5Wh4Cdu6GFKk3fmk2aEIqrT8CeG8JvSKplbV9ZSY+LvvXxQrgy/KzbV2bo1+ztF1R3HQ= Received: by 10.65.188.20 with SMTP id q20mr1655260qbp.1166024016088; Wed, 13 Dec 2006 07:33:36 -0800 (PST) Received: from ?192.168.1.6? ( [74.108.69.82]) by mx.google.com with ESMTP id c6sm1038325qbc.2006.12.13.07.33.35; Wed, 13 Dec 2006 07:33:35 -0800 (PST) In-Reply-To: <004c01c71eb9$c70bc990$0201a8c0@pc1> References: <004c01c71eb9$c70bc990$0201a8c0@pc1> Mime-Version: 1.0 (Apple Message framework v752.3) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: Content-Transfer-Encoding: 7bit Date: Wed, 13 Dec 2006 10:33:31 -0500 To: Matt Wilmas X-Mailer: Apple Mail (2.752.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] [PATCH] Some small optimizations From: ilia@prohost.org (Ilia Alshanetsky) 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