TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JONATHAN DE BOYNE POLLARD
from: MATHIEU BOUCHARD
date: 1998-02-05 01:15:00
subject: Sort Algorithm

 DN>> Note that bubble sort is offered by Knuth, and several others, as by
 DN>> far the worst sorting algorithm around. The next step up is insertion
 DN>> sort, which typically runs twice as fast. The "great all-rounder" is
 DN>> Shell's algorithm. The "formula 1 racer" is Hoare's algorithm
 DN>> (usually very fast, but is prone to breaking down). The "status
 DN>> symbol" of sorting is Batcher's algorithm.
 JdBP> Whenever I need to code a sort of my own (as opposed to just using 
 JdBP> qsort()) I
 JdBP> use Comb Sort.  It's reasonably fast, and it is uncomplicated and 
small 
 JdBP> enough that it is easy to remember.
what is the comb sort? and Batcher's algorithm? (in short... just the
algorithms in pseudocode, details are ok but not necessary)
matju
--- Terminate 4.00/Pro
---------------
* Origin: The Lost Remains Of SatelliteSoft BBS (1:163/215.42)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.