WizBang
July 23rd, 2008, 09:47 AM
I've moved this post from the other sorting thread. This is obviously a better place for it, though it looks out of order due to the time this thread was created.
Well, I checked out the VB6 sorting code in your article (http://www.codeguru.com/vb/gen/vb_misc/algorithms/article.php/c14627/), and was surprised to see that neither QuickSort algo was like the one I've been using. So I added it along with an additional button. Interestingly, I find my algo is about 1/3 faster. I don't recall where I got it, but obviously there are a number of variations out there. I've attached it here.
Well, I checked out the VB6 sorting code in your article (http://www.codeguru.com/vb/gen/vb_misc/algorithms/article.php/c14627/), and was surprised to see that neither QuickSort algo was like the one I've been using. So I added it along with an additional button. Interestingly, I find my algo is about 1/3 faster. I don't recall where I got it, but obviously there are a number of variations out there. I've attached it here.