Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44176 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22887 invoked from network); 5 Jun 2009 11:03:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2009 11:03:41 -0000 Authentication-Results: pb1.pair.com header.from=paul.biggar@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=paul.biggar@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.29 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: paul.biggar@gmail.com X-Host-Fingerprint: 74.125.46.29 yw-out-2324.google.com Received: from [74.125.46.29] ([74.125.46.29:10728] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/19-09243-B8BF82A4 for ; Fri, 05 Jun 2009 07:03:40 -0400 Received: by yw-out-2324.google.com with SMTP id 3so746483ywj.83 for ; Fri, 05 Jun 2009 04:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=kBGDP/59puvHtokYai6tt9O1C5PDxbdDO81zYEoKhyw=; b=DrjfenuMeQ3g0Y52u9nLX1mw6HkkrhHCuqirpW1LVYEV0mSZ/6jx/9xtnMp0Ql0tMM cqhpMwNN86x9VGBcYbS/FOFiMqIW6+OrlKpkZe9WqEDoKJAqEvNVOGhKkHKV9SuXk9j/ qEpIXDDZkT7Cu7cSnK4JjLrjKP5HHltOt+EwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=sk41KYZBmL9EvAaOwWTZqFh/WICLoD86NUzlPS5ZZfYRMiKoCpD+JhkPKGw05md4fk 5liEFFuniCry3r/gakiAxNGyoEV3gSMHnvK+Zge10P1/GCDqWxYClTR5c4RSOCF57bEZ Cu0xvu+2RqBpxi98UI90DgnTCOXH5XEwIk+og= MIME-Version: 1.0 Received: by 10.231.35.65 with SMTP id o1mr877183ibd.7.1244199817053; Fri, 05 Jun 2009 04:03:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 5 Jun 2009 12:03:17 +0100 Message-ID: To: Graham Kelly Cc: PHP Internals , Brian Shire Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Optimizer discussion From: paul.biggar@gmail.com (Paul Biggar) Hi Graham, Simple things first: On Fri, Jun 5, 2009 at 1:08 AM, Graham Kelly wrote: > I'm not sure which optimization you are talking about with the GLOBALS st= uff but what your saying makes sense. (Its been awhile since I've looked at= the code base myself, I'm just getting back to working on it) I copied that comment straight from the source, but I can't find it now that I went looking for it. No matter. > Why not start off with the big stuff, dataflow. I personally believe that= working out good data flow for PHP is key to getting good optimizations. B= ut you are right, its a very tricky thing to do and in some cases impossibl= e. Ultimately, I would like to move a lot of the optimizer work more into t= his direction and use the data flow to build a basic platform for code anal= ysis on which optimizations can be done. For now though, pecl/optimizer is = "dumb" about data types :-) And now the hard stuff. To avoid me repeating myself, let me just pimp my Tech Talk. Have a look at http://www.youtube.com/watch?v=3DkKySEUrP7LA from about the 30:45 mark until just before the 47:00 mark (slides at https://www.cs.tcd.ie/~pbiggar/paul_biggar_google_18_mar_2009_notes.pdf). That highlights most of the problems, and vaguely hints at their solution. We can go into much greater detail on the solutions after. Thanks, Paul --=20 Paul Biggar paul.biggar@gmail.com