VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A quicker Quicksort (up to 100 times faster)

ULLI  (93 Submissions)   String Manipulation   Advanced   Wed 3rd February 2021

Quicksort which works by sorting string pointers only instead of the strings themselves. In particular for long strings around 1000 chars there is a 15 times improvement in speed, going up to 100 times for really long strings, and speed is almost indepent of string length; one million strings are sorted in under five seconds. For short strings below 10 chars or so speeds are more or less identical. The screenshot shows the compiled timing.

Rate A quicker Quicksort (up to 100 times faster) (10(10 Vote))

Download A quicker Quicksort (up to 100 times faster)

A quicker Quicksort (up to 100 times faster) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters