TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DAVID NOON
from: JONATHAN DE BOYNE POLLARD
date: 1998-03-09 21:31:00
subject: Sort Algorithm

 DN> I'm not sure what Jonathan meant by 'comb sort', but I _think_ he
 DN> means Donald Shell's algorithm. 
No.  Combsort is a variant on Bubble sort.  
 DN> Note that Hoare's algorithm is the one used by the qsort() subroutine
 DN> of the Standard C Library. 
Note that it is wrong to assume this.  (-:
The C Standard says *nothing* about which algorithm qsort() may use.  It 
merely requires that it sort the elements of the array.  A C implementation 
could use Bubble sort and still remain conforming.
 ¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)

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™.