Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26437 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45600 invoked by uid 1010); 9 Nov 2006 18:06:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45585 invoked from network); 9 Nov 2006 18:06:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2006 18:06:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=nlopess@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=nlopess@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 212.55.154.21 cause and error) X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.21 relay1.ptmail.sapo.pt Linux 2.4/2.6 Received: from [212.55.154.21] ([212.55.154.21:37654] helo=sapo.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/44-12290-B1E63554 for ; Thu, 09 Nov 2006 13:06:20 -0500 Received: (qmail 4700 invoked from network); 9 Nov 2006 18:06:13 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.210) by relay1 with SMTP; 9 Nov 2006 18:06:13 -0000 Received: (qmail 24063 invoked from network); 9 Nov 2006 18:06:13 -0000 X-AntiVirus: PTMail-AV 0.3-0.88.4 X-Virus-Status: Clean (0.01092 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[82.155.74.64]) (envelope-sender ) by mta15 (qmail-ldap-1.03) with SMTP for ; 9 Nov 2006 18:06:13 -0000 Message-ID: <000901c70429$bdaf9700$0100a8c0@pc07653> To: "Ilia Alshanetsky" Cc: "PHPdev" References: <000701c70421$bae65e80$0100a8c0@pc07653> <4F6399D7-319A-4E8B-B4FB-A819E77AB068@prohost.org> Date: Thu, 9 Nov 2006 18:06:12 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Subject: Re: [PHP-DEV] pushing some more optimization patches From: nlopess@php.net ("Nuno Lopes") >> I would like to push 2 more optimization patches onto the PHP tree: >> * make arginfo const (and save memory): http://mega.ist.utl.pt/ >> ~ncpl/zend_arginfo_const.txt (for php 5.2.1) >> Trivial patch, which is expecially good for multi-core systems sharing >> the same cache. > > The first part looks fine, and if no one objects I'll commit it next > week. OK, thanks. >> * use -fvisibility when using gcc 4: http://mega.ist.utl.pt/~ncpl/ >> php_gcc4_visibility.txt (for php 5.3/6) >> this is a trickier patch and needs some tweaking in extensions exporting >> their own API. The little hacks in the Apache SAPIs are needed because >> older apache versions didn't know anything about gcc 4. > > I'd prefer to hold off on adding to 5.2 series at this time, lets try it > out on 6.0 and if it works fine there perhaps port it back once 5.3 is on > the table. Sure. I didn't meant to push it to 5.2 as it can break some extensions (although the fix is trivial). Nuno