develooper Front page | perl.perl5.porters | Postings from September 2013

Re: unstable mergesort?

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
September 12, 2013 07:22
Subject:
Re: unstable mergesort?
Message ID:
20130912072200.GA1567@fernweh.plasmasturm.org
* Aaron Crane <arc@cpan.org> [2013-09-12 00:15]:
> I'm somewhat of the view that stability is a better "don't make me
> think" default, in the sense that if you don't need it but get it
> anyway, your code works correctly; whereas if you do need it but don't
> get it, your code doesn't.

Yes – a bias-toward-usefulness default. I do not favour changing that.

I am however completely in favour of offering optional microöptimisation
to those who find themselves in need of them:

* John P. Linderman <jpl.jpl@gmail.com> [2013-09-11 18:05]:
> If this gets enough +1s

+1

-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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