[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Wanted - Have = Need



Philip Newton wrote:
> 
> I believe Perl used to use the native C library's qsort routine, but now has
> its own routine due to the poor behaviour of many "native" qsort
> implementation on pathological comparison functions (that don't return the
> same result given the same inputs).

I don't think that's the reason.  After all, perl's sort is also
not well-behaved under such conditions.  In fact, it's one
notorious way to get perl to crash!  No, it was mainly about
speed, as the comments say.

-- 
John Porter


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe