TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JONATHAN DE BOYNE POLLAR
from: TIM HUTZLER
date: 1998-03-16 09:57:00
subject: Re: Sort Algorithm

DN>I'm not sure what Jonathan meant by 'comb sort', but I _think_ he
DN>means Donald Shell's algorithm.
JDBP>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.
JDBP>Note that it is wrong to assume this.  (-:
JDBP>The C Standard says *nothing* about which algorithm qsort()
JDBP>may use.  It merely requires that it sort the elements of
JDBP>the array.  A C implementation could use Bubble sort and
JDBP>still remain conforming.
Anyone who chooses to use a bubble sort has got air between their
ears. [grin]
___ Blue Wave/QWK v2.12
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88)

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