Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73941 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89446 invoked from network); 6 May 2014 06:41:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2014 06:41:35 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.46 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.46 mail-qg0-f46.google.com Received: from [209.85.192.46] ([209.85.192.46:46784] helo=mail-qg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/EE-44049-E1488635 for ; Tue, 06 May 2014 02:41:34 -0400 Received: by mail-qg0-f46.google.com with SMTP id q108so5751444qgd.5 for ; Mon, 05 May 2014 23:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7TlI3tDqFKzf79TkgO6X4Bg+hkS9LH+fWYwWo0KRLto=; b=Wa/F/FBzGYukoh138VSKe3fgqFMwIpCsJ+HJ0R0li7dNYccV8Jq3YbK1vsMqf6LZWs VLm6Mt6TzofaYsZou8hLUdxOn8vUcicSVTPeNC+DZI7b68EgvdbBodfA/ch4ssaElnTr DVg10rP03KEWVlW1u+p2F6QVXSNo/vcXcXA7QbFRow4PMi/RmMsvQTFKdZHWIv1juoC0 GsGVHB9/Abe/OAR/TedNCTCzURf48HE93vusHK43aY93bjJRC7+L8QmVTZG2WJBkgtEL /Lt9Zk4AHq4dwLdFeOr+y9S26/ZkBp5X81894hrHeK8IyU1LUzdvVDCkJgCDajrlAE/y nfgA== MIME-Version: 1.0 X-Received: by 10.229.176.72 with SMTP id bd8mr50754150qcb.12.1399358490992; Mon, 05 May 2014 23:41:30 -0700 (PDT) Received: by 10.140.47.231 with HTTP; Mon, 5 May 2014 23:41:30 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 May 2014 08:41:30 +0200 Message-ID: To: Dmitry Stogov Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: pierre.php@gmail.com (Pierre Joye) On Tue, May 6, 2014 at 8:25 AM, Dmitry Stogov wrote: > > > > On Tue, May 6, 2014 at 10:14 AM, Pierre Joye wrote: >> >> On Tue, May 6, 2014 at 7:56 AM, Dmitry Stogov wrote: >> > int64 proposal is still in draft for very long time. >> >> Sorry, but it was proposed and rejected because of the changes were >> too big for the 5.x serie. It has been said, as arguments for the no, >> that it would not be a problem for php 6. We are so far. > > > I was never glad with size_t string lengths and told about it. > >> >> >> > Do you provide support for all other unrelated proposals when you offer >> > your >> > own? >> >> I do not understand the question, what do you mean? > > > I mean that when you develop something big, you have to be concentrated on > the goals you are going to solve and not on compatibility with others > proposals. Right, but this is possible to achieve by cooperating with the authors of other proposals. Early and well organized proposals minimize the pain for other developers while maximizing the chance of success. >> However, about support, we do offer support for almost every proposal, >> be for testing, build fixes, etc. Pro actively in most cases, whether >> it is in our priorities list or not. My reasoning here is pretty >> simple, a stable PHP, for all supported platform or configuration is >> critical for the success of PHP. Cooperation too. >> >> > Lets think how to integrate them. I propose doing it in two steps >> > (measuring >> > the performance and memory consumption difference). >> > If the degradation is going to be invisible, I won't object. >> >> The numbers are available already, using master and 5.5-5.6. We >> obviously do not have numbers using your patch but I do not think the >> delta will be any different. > > > phpng completely changes zval structure and reduces overhead of some > subsystems, so the numbers might be different. They will be different, no doubt here, but there should not be that much differences from a relative point of view. However I do not think I can go to my team and asked to do that from scratch based on a work in progress effort (even a very good one :). The more I look at it the more I think it is easier and faster to merge the 64bit and then adapt the other one, if accepted (for both proposals). Cheers, -- Pierre @pierrejoye | http://www.libgd.org