develooper Front page | perl.perl5.porters | Postings from July 2004

Re: optimizing Short circuiting sort method based on [M]

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
July 13, 2004 04:41
Subject:
Re: optimizing Short circuiting sort method based on [M]
Message ID:
20040713114121.GB784@plum.flirble.org
On Fri, Jul 09, 2004 at 01:10:23PM -0400, John P. Linderman wrote:

> I was afraid somebody might say that.  This breaks the promise of
> stability.  The order of equal elements is now reversed from the
> input order.  (I'm about to disappear on vacation, so don't
> interpret my silence as lack of interest).  -- jpl

I've removed the optimisation with change 23093
Specifically I've disabled the code in op.c that adds the hint, as I believe
that the hint is correct for the case of reverse sort ...

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About