Aw: Re: [stella] Bubble Sort

Subject: Aw: Re: [stella] Bubble Sort
From: cybergoth@xxxxxxxx
Date: Tue, 26 Mar 2002 10:30:03 +0100 (MET)
Hi Tim!

> How about this ? Sometimes it is a good idea
> to optimize the algorithm. Sorry, untested
> and unfinished but you get the idea..

Ok, I give it a try:

You scan the complete sequence for the 
biggest/smallest value, remember it's index, 
then only swap once per iteration. Seems very 
clever on first sight. I've to try that. :-)


Riester-Rente - Kassieren Sie das Geld vom Staat:
Zum Förderungsrechner!

Archives (includes files) at
Unsub & more at

Current Thread