Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80348 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26201 invoked from network); 11 Jan 2015 03:20:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2015 03:20: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.215.51 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.51 mail-la0-f51.google.com Received: from [209.85.215.51] ([209.85.215.51:61220] helo=mail-la0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/9B-48183-20CE1B45 for ; Sat, 10 Jan 2015 22:20:35 -0500 Received: by mail-la0-f51.google.com with SMTP id ms9so19729773lab.10 for ; Sat, 10 Jan 2015 19:20:32 -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=2+0R4z5TofkffNf7Ol63QHC3ghmpdVteVapNmLal+4M=; b=TBj2wusjUNUUQLtixTwFKzBVaK5YdxQ1u0Bsjw3Wy3xGmZBmqC+vfa2l4TvYYPTNnt Mem8FDYOqeEvhX5lNyT3AUliJBz6ZE7Ym4lyrVAyJ5ZgYB8P+MBsFZSehIoBtyMdPPWw alr+iyuWkXnpl6Q0oUagi09nWmLYovZE5XYDa/ny1Vfy+bJN8+N4u93/VEPSsDgvBN+h zG+YOI0isbudtoUAu6wpBlptiCOmfpXpvo0kLXjFZ7G2G1E1h4zfnN091g8ObHvlWPs5 iRarnPhWlGyOlZu0E+ZRmd1a+XXW4dU6wUsvkYOXxztRTSoQYE+VTFFVkAIpvXEzaTyJ jf2Q== MIME-Version: 1.0 X-Received: by 10.112.150.194 with SMTP id uk2mr29987034lbb.84.1420946431920; Sat, 10 Jan 2015 19:20:31 -0800 (PST) Received: by 10.112.154.133 with HTTP; Sat, 10 Jan 2015 19:20:31 -0800 (PST) In-Reply-To: References: Date: Sat, 10 Jan 2015 19:20:31 -0800 Message-ID: To: David Zuelke Cc: Xinchen Hui , PHP Internals , Dmitry Stogov , Nikita Popov Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Faster zend sorting implementation From: pierre.php@gmail.com (Pierre Joye) On Mon, Jan 5, 2015 at 10:12 AM, David Zuelke wrote: > This sounds reasonable, because given how the sort is *not* stable, there will be other cases (totally made up, but let's say ["a", "o", "O"]) where the swap does *not* happen. Consistency, and thus a stable sort, is better. > > But you're saying your patch is "kind of a" stable sorting algo, so is it stable only sometimes, or did you mean to say "a kind of"? Afaict, it means "less unstable" but still not stable. Still nice work and improvement :)