Date: Sun, 3 May 1998 17:23:38 +0300 (IDT) From: Eli Zaretskii To: Nate Eldredge cc: Francois Charton , djgpp AT delorie DOT com Subject: Re: Heapsort [was: Library Function qsort() Exhibits N^2 Behavior] In-Reply-To: <19980429224701.AAC11144@ppp123.cartsys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 29 Apr 1998, Nate Eldredge wrote: > Incidentally, aren't there some adjustments you can make to quicksort to > eliminate the worst-case behavior? AFAIK, the DJGPP version already does some of these. Look it up in the sources.