"This uses BubbleSort, and the CheckBox determines whether the array to be sorted is numeric or string. (the original button and code is still there too). A ListBox is included to show multiple test results."
****** No .NET code submited yet *******
Printable View
"This uses BubbleSort, and the CheckBox determines whether the array to be sorted is numeric or string. (the original button and code is still there too). A ListBox is included to show multiple test results."
****** No .NET code submited yet *******
Okay I've completed the Sorting code in .NET ...
Results of this test as run on my Vista dev system..
10 000 items in array...
32bit Numeric value.. (Long in VB6, Integer in .NET)
VB6 = 593
VB.NET = 390
String types..
vb6 = 17051
VB.NET = 3229
when doing some research for the sorting article i came across several Quick sort algo's. I acctualy just randomly picked two, and luckly got two that perform at different levels..Quote:
Originally Posted by WizBang
I also noticed that you added it to the Articles vb6 project.. so i wont test it in .net ...
I'm not sure I understand (not testing it in .net), but now that you've started the other sorting thread, with all the different algorithms, perhaps I'll move my post over there.Quote:
Originally Posted by GremlinSA
This is interesting. The BubbleSort test using a ListBox to hold the data showed VB6 is faster. Does this mean that the .net ListBox is slower than the one in VB6?Quote:
Originally Posted by GremlinSA
my take on this is that the .NET listbox item object is a lot larger than in VB6.Quote:
Originally Posted by WizBang
As seen in the Listbox add items test, .NET takes much longer to add items one at a time to the list. However now tou can add a lot more than just a String and a hidden value to each item..
I'm still trying to think af a few more tests to do on the listbox and combobox...