Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70478 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31411 invoked from network); 3 Dec 2013 07:59:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2013 07:59:20 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 209.85.212.175 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.212.175 mail-wi0-f175.google.com Received: from [209.85.212.175] ([209.85.212.175:42758] helo=mail-wi0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/71-23695-65F8D925 for ; Tue, 03 Dec 2013 02:59:19 -0500 Received: by mail-wi0-f175.google.com with SMTP id hi5so6102210wib.2 for ; Mon, 02 Dec 2013 23:59:16 -0800 (PST) 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=wQH6EGgU20cBZ2d/DNsP8CcM1YsHz3FeiuZfbchKH3Q=; b=haJDhO4SpwxDG+nNhlcWEnp6QOIFk7mNIkW+pvv8/UaFC83hedoSlSk1L4Cr0+jYuG Yo9q0UC0ajb9tEDo0//3/dQHKuP4bvhGKK3MERX1Sw5o5tJQ4HEdMOqyJ/+u7yZgBKcJ MNyVGdXwBvQrhqBSnk8f18dolEN0MUxlN1cKWQ5N9CxFrXCXL5zhSqrH2r6Dh/ESW1MK m85gJiBHI/AKluLPgdKoqXHZJbFdLReBkPNPZkwno+kr0AB8MlDSZljArSbkFMVDe5Oa YZTzaXwhIVmJYl6nLZRB2t55pMkIhKrJV77lNONxOgmMvKVZKjM4C0lQ93e7qXO0cdwO YIyA== X-Gm-Message-State: ALoCoQl8rnLmBvkEjEY8g5sarrPSndZLjLKb0PLu7AieHDkS7l8OWbsE3DhdC3Koa299BPGSsw6ExoYIWvrzF9DioiID8JXZtt7fLSdiTLppPZwvN0eggxXe7SiTgKVmIVS4JLhjeNKO MIME-Version: 1.0 X-Received: by 10.194.79.74 with SMTP id h10mr920791wjx.86.1386057556212; Mon, 02 Dec 2013 23:59:16 -0800 (PST) Received: by 10.227.87.130 with HTTP; Mon, 2 Dec 2013 23:59:16 -0800 (PST) In-Reply-To: References: <529D1197.5000305@nebm.ist.utl.pt> <8BCA5A38-788B-4E6A-A6AC-1A8DCBA3D8D9@zend.com> Date: Tue, 3 Dec 2013 11:59:16 +0400 Message-ID: To: Hannes Magnusson Cc: Andi Gutmans , Gustavo Lopes , Laruence , PHP Internals , Zeev Suraski , Gadi Goldbarg Content-Type: multipart/alternative; boundary=047d7bb04a1246d1d904ec9cac42 Subject: Re: [PHP-DEV] strtr() performance degradation From: dmitry@zend.com (Dmitry Stogov) --047d7bb04a1246d1d904ec9cac42 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable At least it must be fixed in PHP-5.6 and measured what kind of performance degradation we got in 5.4. Then we may think if it makes sense to apply it to 5.4 and 5.5. It's always dangerous, but significant speed difference on real life applications matters. Thanks. Dmitry. On Tue, Dec 3, 2013 at 11:33 AM, Hannes Magnusson < hannes.magnusson@gmail.com> wrote: > On Mon, Dec 2, 2013 at 10:54 PM, Andi Gutmans wrote: > > > > On Dec 2, 2013, at 3:02 PM, Gustavo Lopes > wrote: > >>> =E2=89=88 > >> > >> The progress consists of writing of scripts to test the point where to > switch algorithms and trying some improvements on the old one without as > expensive preprocessing steps. > >> > >> Now, this was in the summer... I'll have some time in the holidays to > pick up this and some other PHP-related backlog; that said, if there's so= me > impatience (which would be perfectly understandable...), I wouldn't mind = if > someone reverted to the previous state in the meantime. > > > > Sounds like this may take some time to figure out. So if there is > absolutely no difference in semantics between the two I would suggest we > revert until you are able to dig into this. > > > > > This change was included in 5.4.12 and 5.4.22 has been released. > Now you want to revert and maybe release 5.4.23 and then apply again in > 5.4.24? > > That doesn't seem worth it. What done is done. Had it been reverted > right away then it would have make sense, but not 10 releases later? > > -Hannes > --047d7bb04a1246d1d904ec9cac42--