Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39345 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25528 invoked from network); 26 Jul 2008 00:59:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2008 00:59:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=sgkelly4@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=sgkelly4@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: sgkelly4@gmail.com X-Host-Fingerprint: 209.85.146.179 wa-out-1112.google.com Received: from [209.85.146.179] ([209.85.146.179:45843] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/20-22656-CE67A884 for ; Fri, 25 Jul 2008 20:59:25 -0400 Received: by wa-out-1112.google.com with SMTP id v27so2006091wah.17 for ; Fri, 25 Jul 2008 17:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Y8z7GfMYUGrTVNwV36pvsMd0zUVSuR0QSwyzZT/z0Pk=; b=fuGOScqlqzWCDUKJ1WPTXo5+s/7q9Mgl3e4RGr23rOkqWct5dotG1n/epPSsxXoEzI Y2XmFILAfpoQJkRi5Nd2SBBXL3oGoxm8GOOY5sEef7zBBUOc2oFn2xDAkSSGFE2BiJZa RdJT0XenmHrfXDfFqDAJYZTEIvCWdGFf0tBqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=aX/yhnJidRMcygCv4VM1L8TouY7PMEt5dTEhZDSLpnyWWEVGD/VYbPFC8Pdgkb6EeO hfyxDwwAMZkcZv6HwEPSknLM+WgGiDAgMKVxYkqIWqIcRw61Jld+xQ1bVYsRe0vRx8Tz VfO3gVHjKBjprt1dabT3xt80wYPF3XJA3tv/k= Received: by 10.114.169.2 with SMTP id r2mr2741722wae.132.1217033962122; Fri, 25 Jul 2008 17:59:22 -0700 (PDT) Received: by 10.114.109.13 with HTTP; Fri, 25 Jul 2008 17:59:22 -0700 (PDT) Message-ID: Date: Fri, 25 Jul 2008 17:59:22 -0700 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_404_27359818.1217033962098" Subject: GSoC Optimizer Update From: sgkelly4@gmail.com ("Graham Kelly") ------=_Part_404_27359818.1217033962098 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, My Google Summer of Code project is to develop and release an initial version on the optimizer originally being developed by Ilia. The optimizer will be released to PECL as its own extension, however, it will require APC in order to run. Ive worked on cleaning up bugs and testing the existing code. In addition I have worked on refactoring some of the code to provide a base on which to build a more powerful and more robust optimizer. I have added a few additional optimizations including: 1) Optimization of basic math identities 2) Optimization of silence blocks 3) More functions for which we can pre-calculate return values for if they have all static parameters. (substr, acos, acosh, asin, asinh, atan, atanh, cos, cosh, sin, sinh, tan, tanh, exp, log10, sqrt, atan2, ceil, floor, fmod, ini_get [for PHP_INI_SYSTEM values only], ip2long, long2ip, trim, chop, rtrim, ltrim, rad2deg, deg2rad, abs) 4) worked on making function optimization more aggressive to reduce the number of required passes for full optimization. 5) A few more minor things here and there There are plans to change the optimizer hook in APC over to adding a new compile layer. This should help give the optimizer better control as well as make it more easily integrateable with other extensions. In the future I would like to work on a new control system and new analysis tools for the optimizer. Hopefully such eventual changes will open up the way for more powerful optimizations down the road. In addition there are some APC specific optimizations that might be able to be done. Hopefully the initial release of the optimizer will in available in PECL in the next few weeks. For now you can get it from pecl/optimizer in CVS. ~ Graham ------=_Part_404_27359818.1217033962098--