TH> Anyone who chooses to use a bubble sort has got air
TH> between their ears. [grin]
If you are never REsorting your data, and only adding a
single new element now and then, the bubble sort makes
sense. A modification of it, which compares the item to be
inserted to the middle element is even quicker, of course,
but for a limited list, such as a top ten players list in
a game environment, the bubble sort is perfectly adequate.
> ] Once you know me better, you'll like me even less...........
---
---------------
* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750)
|