Re: VB6 LISTBOX problem



<xx3884@xxxxxxxxxxxxxx> wrote in message news:1192901428.750702.325760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I know adding so many entries to a listbox isn't
ideal, it was purely a quick way to sort alot of data...

Surely you jest! Even a very simple sorting algorithms will sort your 47000 strings ten times faster than dumping them into a ListBox with its Sorted property set to True, and the better sorting algorithms will sort them more than twenty times faster!

Mike




.



Relevant Pages

  • Re: sorter script [was: Frustrated newbie question]
    ... For many simple things 'sort -u' will suffice, ... oye - I finally used stuart clemmon's suggestion ... and then a bunch of file IO as well... ... think about solving sorting algorithms. ...
    (perl.beginners)
  • Re: Fastcode Sort B&V version 0.8
    ... term "stabillity" regarding sort algorithm means ... stable sorting algorithms maintain the relative order of records ...
    (borland.public.delphi.language.basm)
  • Re: Implementation of the object.sort method.
    ... two elements in the array and then rearranging those elements based on ... The common thread among all sorting algorithms is the need to decide ... So whenever sort needs to know the ordering of two objects, a and b, ...
    (comp.lang.ruby)
  • Re: Mergesort Vs Quicksort
    ... sorting algorithms. ... Merge sort would be the next best choice, but its problem is that it ... requires that pesky additional memory. ... As an example of one problematic situation, think about an array which ...
    (comp.programming)
  • Re: sort an array
    ... has some sorting algorithms ... Sort Algorithms for Numeric Arrays ... If you want to sort within a worksheet UDF then you'll need to create a ... I need to create an array and work with it? ...
    (microsoft.public.excel.programming)

Loading