VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

qsort

Mike Shaffer  (1 Submission)   String Manipulation   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Want to sort 5,000 10-byte strings in about 1/10th of a second? This will do it (at least on my PII-233!). The insertion sort manages the same task in about 60 seconds (even when optimized it still took about 15 seconds on the same machine).

Inputs
strList (a string array)

Assumes
Want to sort 5,000 10-byte strings in about 1/10th of a second? This will do it (at least on my PII-233!). The insertion sort manages the same task in about 60 seconds (even when optimized it still took about 15 seconds on the same machine).

Returns
strList (the same array - sorted)

API Declarations

Rate qsort (3(3 Vote))
qsort.bas

qsort Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters