Check out Amazon.com!

BlitzCoder Code Archives PageMain Codes Page
"Quicksort Algorithm Demo", by kawaguy
This demo is to implement fast Quicksort Algorithm.

Use a keyed structure (type) for records to be sorted. In this example, random numbers are used for the demo purpose.

For 10,000 records, sorting takes approx. 6/10 of a second on my machine as compared to Bubblesort, approx. 4 secs. If you do the timing yourself, be sure to comment out DebugLog commands.
Code
Copyright(c) 2000-2004, BlitzCoder. All Rights Reserved.

Code software created by Krylar's Kreations