From: "Colin W. Glenn" Newsgroups: comp.os.msdos.djgpp Subject: Re: Sorting? Date: Thu, 13 Mar 1997 21:20:12 -0600 Organization: Greater New Orleans Free-Net Lines: 27 Message-ID: References: <5g5m6r$nbp AT freenet-news DOT carleton DOT ca> NNTP-Posting-Host: sparkie.gnofn.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <5g5m6r$nbp@freenet-news.carleton.ca> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 12 Mar 1997, Paul Derbyshire wrote: > Bubble sorts are easy to write but excruciatingly slow when they have more > than a handful of elements to sort. Set it up as a chain sort. I wrote such a routine some time ago in QBasic, basicly (no pun intended) it works by using a smaller array to hold 'heavier' elements until it reaches the end where it tacks them there. Slight bit of a pain to set up, but works 10x faster because you're sorting ten elements at a time. DJGPP A Free GNU C & more compiler ! DJ Delorie's Home Page . A Christian Web Site! The Light .
A neat place to visit. HotSpot .
Caldera, Inc. / Makers of OpenDOS .
Caldera's OpenDOS page .