Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80507 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85375 invoked from network); 14 Jan 2015 23:52:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jan 2015 23:52:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.45 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.45 mail-qa0-f45.google.com Received: from [209.85.216.45] ([209.85.216.45:47779] helo=mail-qa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/C3-00659-62107B45 for ; Wed, 14 Jan 2015 18:52:06 -0500 Received: by mail-qa0-f45.google.com with SMTP id n8so9043543qaq.4 for ; Wed, 14 Jan 2015 15:52:04 -0800 (PST) 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=UiyDN487UF+1Skh/rZhqUGzdDZRmuXPotz0TKG+YSxg=; b=LGRNzBg7HEoRyVQMoQlkX51fzZmg/Ir55niCq3TqzAhPBcNFb8eXvQuz4BlpvcD7Xv kCvZmFyWSbpf409tOxO8JCl30aZ/5DOuIEx4/6lVtMlELGLn8/Aw5k8fxhFd4/QD/2oH QQi+D7RlMxHuySDsZGP6u/k0rWd5oBAev5Rzpy5eUjNYwHnPIkcQ5++dOBRLo4jWdtdo fvjIf5c8Gmjh7BAQdLp/EBQmdktLees2T/W3I2uLDUY/7x481EWtwc0dy4qA49PizSZK x7tFykWOxizLUAOVM3cA5gJ7Za1Dx+wjx+Dc9h1Lv1GY+Up0Oz/lUZkDqzBxXrfc0GXc PNIg== MIME-Version: 1.0 X-Received: by 10.224.89.65 with SMTP id d1mr7952187qam.4.1421279524114; Wed, 14 Jan 2015 15:52:04 -0800 (PST) Received: by 10.140.22.106 with HTTP; Wed, 14 Jan 2015 15:52:04 -0800 (PST) In-Reply-To: <54B6CD05.3070005@gmail.com> References: <54B6CD05.3070005@gmail.com> Date: Thu, 15 Jan 2015 00:52:04 +0100 Message-ID: To: Stanislav Malyshev Cc: Xinchen Hui , PHP Internals , Dmitry Stogov , Nikita Popov Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: Faster zend sorting implementation From: pierre.php@gmail.com (Pierre Joye) On Wed, Jan 14, 2015 at 9:09 PM, Stanislav Malyshev wrote: > Hi! > >> I made a PR here: https://github.com/php/php-src/pull/999 for reviewing >> >> in benchmark this can brings more than 30% performance gain in >> array_sort etc functions. >> >> tests fails are related to non-stable vs stable sorting difference. >> >> anyway, I feel it's better to ask you to do a final review, what >> do you think? >> >> is there any objections to merge this? > > I think the sort order of equal elements was never defined, so changing > it would not be a big issue. The tests, of course, need to be fixed and > note in UPGRADING should be provided, but otherwise it's fine. Same here, all good as long as a notice is present and tests are updated.