Sorting ANYTHING

Root Boy Jim rbj at icst-cmr
Tue Apr 8 07:12:53 AEST 1986


The basic rule of thumb for sorts is this:

	If you can understand why it works, it's too slow.

Sorts are extremely mathematical and have been analyzed to death
by such highbrows as Knuth, who have not forgotten all the math they took.

If you're going to sort a small number of things, it doesn't really
matter what you use. If you're sorting lots of stuff, use a system
sort and save the maintainer the headache of reading *your* sort.

	(Root Boy) Jim Cottrell		<rbj at cmr>



More information about the Comp.lang.c mailing list