Array#sort() implementations not interoperable

Bill Frantz frantz at pwpconsult.com
Thu Jun 13 16:41:48 PDT 2013


On 6/13/13 at 3:53 PM, felix8a at gmail.com (felix) wrote:

>Always-unstable is trivial...

Not really. Doing it with a test case that has only one record 
is hard. It is also hard if the test case has all different 
records (according to the sort field(s).

BTW _ I think having only one sort which is stable is a good 
solution if performance of sort is not a burning concern.

Cheers - Bill

---------------------------------------------------------------------------
Bill Frantz        | Re: Computer reliability, performance, and security:
408-356-8506       | The guy who *is* wearing a parachute is 
*not* the
www.pwpconsult.com | first to reach the ground.  - Terence Kelly



More information about the es-discuss mailing list