Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88981 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34410 invoked from network); 29 Oct 2015 01:52:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2015 01:52:53 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.223.175 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.223.175 mail-io0-f175.google.com Received: from [209.85.223.175] ([209.85.223.175:32921] helo=mail-io0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/E3-08716-3FB71365 for ; Wed, 28 Oct 2015 20:52:52 -0500 Received: by iodd200 with SMTP id d200so30824374iod.0 for ; Wed, 28 Oct 2015 18:52:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zend_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dxtTy7pQqgBvWGaD8Tu9kPlJX2ukBlafW195neHPOHA=; b=WbcYmOcUpHuYjB7BHrQ7bTzdqAuWFETa2JQZs6qjkJJUEXiuc9TUGge7isg3rHhRZA V8cWVMVPCM5D3hIQlz4egnZLZAxN+lw4EyoGiUaF9vmATfVMRtGczwKfcgrwQy17p5lN X11VzYeSNcqP6Bb1AW0HZOHNhqlvc/higjom07faObUvlZ66TOzMr3pjQ76lozBrBJg+ 91GRwpqgmI1/h7qWGXmW90llVUpYH6t7A78RGZAUkkc0WZU2xncVr/W7JCxpAbTZhXBI 6q3Q4YSuK05uHhtPe1G2dL9Xqwz8gUCO6lKjaqJ9+/3f81y8ovZOYobMbhk1B0YwkAcV Bq0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=dxtTy7pQqgBvWGaD8Tu9kPlJX2ukBlafW195neHPOHA=; b=V4gzqmicRfZcHOwKj+xER0oewgyCS+PindZpTNMpRs9co5arkhpcKx2uMkbYuFugcx NAsg6F10+Xn2yvFZhd4LKW+jDhnjyYRoCzJ5zctmn+Kji/Cv6TPlBMZaYYmeZEuTPWOl +r+qBd/fiz0yGGXtilQDbVPeNNsW8W26nAktklXSoCreI8TeQkwR8mrkz2PrdCmqa8Bz hb8CfZg0s9w5ov4QmQkg/lePShNh58bIbIvVyoGZDMUrfYf5LBKGGWpSaLqzzvBesrwk 5zwnFprJYvbZ9RCb3oUkOmHcD21V3A8yMxDttVs4aSvY8JDffYydRtFbaLCEw6RCfhOd FVGg== X-Gm-Message-State: ALoCoQn9OPp4iLQvn3R8snR4D7e1F1eP5+OJNZHMtSjxOTXAPN/sMfhImaAsmrcG3seYECWdkd1XBhrS+J3d/cHjvAlTLT97PYrKeXljCd223M0LvRRXgwxbaCVybqMMQnyXScvfZAZWN/5zs46xqy8pzQcp8D8GMQ3VlWf9XknOFyR2F8CCiPs= MIME-Version: 1.0 X-Received: by 10.107.8.218 with SMTP id h87mr743870ioi.116.1446083568945; Wed, 28 Oct 2015 18:52:48 -0700 (PDT) Received: by 10.50.73.166 with HTTP; Wed, 28 Oct 2015 18:52:48 -0700 (PDT) Received: by 10.50.73.166 with HTTP; Wed, 28 Oct 2015 18:52:48 -0700 (PDT) In-Reply-To: <0E.C4.63642.56E01365@pb1.pair.com> References: <0E.C4.63642.56E01365@pb1.pair.com> Date: Thu, 29 Oct 2015 04:52:48 +0300 Message-ID: To: Andrea Faulds Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a113f910a7187bc05233491c5 Subject: Re: [PHP-DEV] Re: Speed up fetching of class entries for self:: parent:: and static::(Bob's idea) From: dmitry@zend.com (Dmitry Stogov) --001a113f910a7187bc05233491c5 Content-Type: text/plain; charset=UTF-8 Hi Andrea, On Oct 28, 2015 9:06 PM, "Andrea Faulds" wrote: > > Hi Dmitry, > > > Dmitry Stogov wrote: >> >> Please take a look: https://github.com/php/php-src/pull/1604 >> The speed improvement on real-life is insignificant. >> VM size is increased by 10KB. >> >> I don't have a strong opinion, if this should go into master or not. > > > 10KB VM size increase for insignificant real-life improvement doesn't sound good. Surely that would hurt performance on some systems? Of corse, this may affect performance in negative way. This occurs, mainly not becuae differenf code size, but because of different code layout. The same change may affect performance in different ways on diferent systems. Anyway, this patch is not only for speed, but for clenup and making difference, between regular variables and static properties. We will try to reduce the VM code size later. Thanks. Dmitry. > > Thanks. > > -- > Andrea Faulds > http://ajf.me/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --001a113f910a7187bc05233491c5--