[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sorting Algorythms
- Subject: Re: Sorting Algorythms
- From: Raymond Wiker <rwiker@gmail.com>
- Date: Wed, 19 Dec 2012 21:51:09 +0100
- Cancel-lock: sha1:HHVljbaz5NraTvqaCsGt53QX6ns= sha1:ZoB3V1m5b+RIaB90S/iPdAxw7wM=
- Injection-info: mx04.eternal-september.org; posting-host="dded6e50d6842816dab1e414e53ac2b5"; logging-data="15174"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rRe8Ld0G2WYp0cFXZZCp1"
- Newsgroups: comp.sys.apple2
- Organization: A noiseless patient Spider
- References: <4a3319d8-21f4-4d7a-b437-585c1a351f8c@googlegroups.com>
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin)
gids.rs@sasktel.net writes:
> I am sure everyone has dabbled in and programmed a sorting algorythm at some time while playing on their Apple II computer.
>
> What I would like to know is there any programs out there other than the usual talked about ones or one they may have created themselves?
>
> Bubble sort, Bi-bubble sort, Shell Metzner sort, Quick Sort, Field Sort, Binary search sort, Heap sort, Interchange sort.
>
>
> And what is the fastest sort anyone has come across. Is Quicksort the fastest?
> I re-engineered a sort that I came across, but I do not know the name of it, that is about 35% faster than the quicksort. With the added advantage of leaving the original in tact as well as have multiple tag alongs and it sorts numbers properly where the number 2 is less than 10. Most sorts will not sort numbers properly.
Hmmm... I was going to ignore this post, as discussions about sorting
algorithms in general is not what I read csa for, but...
... "most sorts will not sort numbers properly"?
That's about the weirdest thing I've ever heard said about sorting
algorithms.
Anyway, it is well known that the performance of sorting algorithms
depends on a number of factors, including the number of items and
whether they are already in sequence (or mostly so). WikiPedia has a
good overview at http://en.wikipedia.org/wiki/Quicksort .