On Nov 19, 2007, at 1:13 PM, Michael Van Canneyt wrote:



On Mon, 19 Nov 2007, Florian Klaempfl wrote:

Martin Waldenburg schrieb:
Michael Van Canneyt schrieb:
Probably we could put a shellsort behind it, and no-one would notice :-)

for comparision intensive sorting a well implemented Mergesort
beats everything,

For sorting large stringlists a radixsort might be even better?

Well, the solution is very simple :

TSortAlgorithm = (saBubble,saShell,saMerge,saRadix,saQuick);

TStringList = Class(TStrings);
 Property SortAlgorithm : TSortAlgorithm Read FSA Write FSA;
end;


I think it is a very good idea.

I await your contributions, I'll take care of the rest.

And I _am_ serious.



--
Damien Gerard
[EMAIL PROTECTED]



_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to