TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: GEORGE WHITE
from: DAVID NOON
date: 1998-03-31 20:10:00
subject: Insertion Or Bubble?

In a message dated 03-30-98, George White said to David Noon about Insertion
Or Bubble?
Hi George,
GW>Interestingly Professor Knuth does cover insertion sort (Shellsort)
GW>before exchange sorts (Bubble sort).
That is because Knuth knew enough about bubble sort's goofiness to treat it
as a segue.
DN>HS>Are you sure? Last time I checked bubble sort was slightly faster.
GW>Knuth is sure, Vol 3, ISBN 0-201-03803-X page 111, where he also says:
GW>"In short, the bubble sort seems to have nothing to recommend it, except
GW>a catchy name and the fact it leads to some interesting theoretical
GW>problems."
Yes, that's still the definitive reference for sorting.  I'll have to dig
out my copy soon, as I'm running out of sort algorithms I already know for
posting in the C_PlusPlus echo. ... :-)
Regards
Dave

___
 * MR/2 2.25 #353 * 9 out of 10 men who try Camels prefer women.
--- Maximus/2 3.01
---------------
* Origin: DoNoR/2,Woking UK (44-1483-717905) (2:440/4)

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