Slimelite BBS

List sorting

Back to AMOS_ECHO

From Ross Nicoll · 1996-04-09 18:07 · #75567 in AMOS_ECHO

For a list of about 300 items (standard exec type list), would a
bubble or an insertion sort be better? Or would it even be worth
the time writing a quicksort routine?

Sorry for tagline length!
  _   __  __  __
 /_) / / (_  (__
/\  /_/  __)   /
______________/

... He did of course sometimes have people horribly tortured to death, but
... this was considered to be perfectly acceptable behaviour for a civic
... ruler and generally approved of by the overhelming majority of citizens.
... [footnote: The overhelming majority of citizens being defined in this
... case as everyone not currently hanging upside down over a scorpion pit]
...         -- (Terry Pratchett, Sourcery)

--- Spot 1.3a Unregistered
 * Origin: Lost in Cyberspace (2:440/304.8)