Re: Shuffle algorithm

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Stu Smith (stuarts_at_remove.digita.com)
Date: 03/10/04


Date: Wed, 10 Mar 2004 16:51:57 -0000

ListView already has a sort method doesn't it? ArrayList certainly does. Is
there a reason you're writing your own sort method?

"2G" <2G@pandora.be> wrote in message
news:8MZ2c.27199$CX3.1757308@phobos.telenet-ops.be...
> Hi,
>
> Does anyone know a good/fast shuffle algorithm to shuffle a array ?
> I've written a class to sort my listviews using quicksort but it tends to
> get very slow on columns that are already sorted.
>
> Thanks in advance.
>
>



Relevant Pages

  • Re: ListView Sorting
    ... In .NET the ListView has the Sort method, ... design and document much faster. ... theres no sortkey in the vb.net version. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Another Chris Pine Tutorial Question
    ... On 30.08.2008 22:55, danielj wrote: ... Try writing the above program without using the sort method. ... part of programming is solving problems, so get all the practice you ...
    (comp.lang.ruby)
  • Re: Sorting Arraylist
    ... > Fortunately, the Sort method on ArrayList is just what the OP wants, I ... however the OP is writing an Arraylist of objects. ... When you search on MSDN ... Cor ...
    (microsoft.public.dotnet.languages.csharp)