comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Quick Sort in Rosetta Code
Date: Tue, 9 Feb 2016 22:43:06 -0700
Date: 2016-02-09T22:43:06-07:00	[thread overview]
Message-ID: <n9eift$kfp$2@dont-email.me> (raw)
In-Reply-To: <2e3f8f3d-9247-4294-9ee7-961547674bc3@googlegroups.com>

On 02/09/2016 10:27 PM, gautier_niouzes@hotmail.com wrote:
> 
> Couldn't not find how to reach the author of the Rosetta Code Quick Sort code
>   http://rosettacode.org/wiki/Sorting_algorithms/Quicksort#Ada
> ...but the code needs some improvement.
> 
> If you put 
>       Wed => 99.0, 
> in the demo instead of
>       Wed => 800.0, 
> you get
>    99.00  100.00  300.00  200.00  500.00  700.00  900.00

Not quite right. There's an implementation of Quick Sort in the PragmARCs, but
it would use insertion sort for something this short.

-- 
Jeff Carter
"I was in love with a beautiful blonde once, dear.
She drove me to drink. That's the one thing I'm
indebted to her for."
Never Give a Sucker an Even Break
109

  reply	other threads:[~2016-02-10  5:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10  5:27 Quick Sort in Rosetta Code gautier_niouzes
2016-02-10  5:43 ` Jeffrey R. Carter [this message]
2016-02-10 13:50   ` robin.vowels
2016-02-10 21:39     ` Jeffrey R. Carter
2016-02-10  7:00 ` Leo Brewin
2016-02-10  7:14 ` Leo Brewin
2016-02-10 10:04   ` gautier_niouzes
2016-02-10 10:16   ` gautier_niouzes
2016-02-10 20:41 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox