[plug] qsort

Bernard Blackham bernard at blackham.com.au
Sun Jun 9 16:38:04 WST 2002


On Sun, Jun 09, 2002 at 04:39:08PM +0800, Richard wrote:
> Wouldn't it be easier just to write your own simple sort. This all seems
> a bit convoluted to me :)

Well you can always write your own qsort (eliminate the off by one
errors and its not too hard). In pascal you had no choice. The
beautiful thing about qsort is its speed. If you weren't worried
about speed and portability, you could probably pipe it through
/usr/bin/sort :) (Hell, write the entire thing as a shell script.
love em!)

Bernard.

-- 
 Bernard Blackham
 bernard at blackham.com.au
 Australian Linux Technical Conference 2003: http://conf.linux.org.au/



More information about the plug mailing list