Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64973 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94328 invoked from network); 15 Jan 2013 20:51:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2013 20:51:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.21 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.21 smtp1.ist.utl.pt Linux 2.6 Received: from [193.136.128.21] ([193.136.128.21:38747] helo=smtp1.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/B0-25628-D31C5F05 for ; Tue, 15 Jan 2013 15:51:10 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 4F27B7000428; Tue, 15 Jan 2013 20:51:06 +0000 (WET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp1.ist.utl.pt ([127.0.0.1]) by localhost (smtp1.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id ZBwm7xnAU68V; Tue, 15 Jan 2013 20:51:06 +0000 (WET) Received: from mail2.ist.utl.pt (mail.ist.utl.pt [IPv6:2001:690:2100:1::8]) by smtp1.ist.utl.pt (Postfix) with ESMTP id E67877000424; Tue, 15 Jan 2013 20:51:05 +0000 (WET) Received: from damnation.nl.lo.geleia.net (unknown [IPv6:2001:470:94a2:4:21d:baff:feee:cc0b]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id 78F6D200BB89; Tue, 15 Jan 2013 20:51:04 +0000 (WET) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: internals@lists.php.net, "Stanislav Malyshev" , =?utf-8?Q?Johannes_Schl=C3=BCter?= , "Gustavo Lopes" References: Date: Tue, 15 Jan 2013 21:51:02 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_I=2ES=2ET=2E?= Message-ID: In-Reply-To: User-Agent: Opera Mail/12.11 (Linux) Subject: Re: [PHP-DEV] strtr vs. str_replace runtime From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") On Mon, 14 Jan 2013 22:55:33 +0100, Gustavo Lopes wrote: > OK, so now the plan is to merge this onto 5.4: > > https://github.com/cataphract/php-src/compare/php:PHP-5.4...cataphract:strtr_wu94_54 > > And this to 5.5: > > https://github.com/cataphract/php-src/compare/php:PHP-5.5...cataphract:strtr_wu94_55 > > The difference is that the 5.4 version does not introduce zend_qsort_r() > and instead has dedicated simple heap sort. > Given the marked improvements in performance and no objection from the RMs, I went through with this plan. -- Gustavo Lopes